This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building cygwin1.dll


OK, why don't I start over:

	My assumption, from the previous discussion, was that the directions
	in the FAQ were, in theory, sufficient to actually perform the task.
	Therefore, I assumed that cygwin-1.3.10-1-src.tar.bz2 was supposed
	to be able to build alone, and that it's inability to do so was
	brokenness on it's part, which has been hidden because it's
	generally only compiled as part of the larger 'net-release',
	which contains other things.

	This was bolstered by being able to compile a working cygwin1.dll
	using, I assume, my installed version of w32api in place of the one
	that belongs in the source tree.  It may be, however, that doing
	this worked "by accident" and should not be assumed to be a workable
	thing in the future.

	But if there are other packages that *SHOULD* be required to build
	cygwin1.dll, then my assumption was invalid.  My next instict was to
	say "OK, the brokenness is in the FAQ".  But having re-read that
	entry, I cannot say that it's technically wrong.  It merely says to
	put "the sources" into /src.  It does not say what constitutes "The
	sources".  It was *my* assumption that the only sources required to
	build cygwin1.dll were contained in cygwin-1.3.10-1-src.tar.bz2.

	So now the question becomes, what is the minimum subset of the
	source distribution that must be unpacked into /src in order for
	following the directions in the FAQ to work, and how should they be
	put there.  I assume that the three empty directories, w32api, mingw,
	and cinstall should be filled, so I'll start with them and see if
	that produces a dll.

	Another question:  Are there any directions as to how to use the
	mknetrel package from the cygwin-apps cvs tree?  I've read some of
	the script, and it looks like it might make life easier, but it
	appears to need things mounted in particular absolute directories.
	If there are no such docs, would you be interested in having some?

On Wed, May 29, 2002 at 10:36:18AM -0400, Christopher Faylor wrote:
> On Wed, May 29, 2002 at 09:17:28AM -0400, rich-paul@rich-paul.net wrote:
> >	I noticed that removing that directory exposes another problem,
> >	the makefile wants to make a target called w32api, but there are
> >	no rules for such a target.  Of course, make hapilly thought
> >	it had already made it, in the form of a directory, so didn't
> >	complain.
> 
> That's because you *need* the directory to be populated.
> 
> >	I removed the dependencies from four lines, and am trying again
> >	...
> 
> Wrong "solution".
> 
> >	Hmmm ... switching the lib directories to use the installed
> >	mingw32/win32api
> 
> Wrong "solution".
> 
> >	OK, got farther, added a check for the cross-directory
> >	libkernel32.a dependency ....
> >
> >	At this point, started dying of 'parse error before symbol
> >	__gnuc_va_list' in stdio.h.  It does include stdarg.h, but
> >	perhaps whatever keeps stdio.h from exposing va_list, as the
> >	comment in the gnuc stdio says, is the culpret.  Anyway, I didn't
> >	want to dig too deeply, so I played with making .i files  for
> >	a while, and resorted to commenting out the conditionals at
> >	line 143, so that __VALIST would be #defined to char*.
> 
> Something is wrong in your installation.
> 
> When, you think about this problem, think about it from the point of
> view that many people (me, for instance) are building cygwin.  We don't
> build it by hacking at the Makefile.  We build it by having the complete
> sources installed.
> 
> If you have to start editing things, you're obviously going down the
> wrong track.
> 
> cgf
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

-- 
Got freedom?  Vote Libertarian:  http://www.lp.org

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]