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 and mknetrel


On Mon, Jun 03, 2002 at 05:33:25AM -0400, linguist-cygwin@rich-paul.net wrote:
>	*	mknetrel, it appears, can build most but not all cygwin
>	 	packages.  vim, for example, looses, because the build must be
>		done in the src directory.  It looks like an 'extras' script
>		could be produced to accomidate vim, either with a link tree (I
>		seem to recall the vim build supports this) or some other hack.

mknetrel is, AFAIK, only used by myself for producing net release packages.  Egor
Duda has obviously been experimenting with it (possibly for use in building gcc)
but he doesn't use it for package maintenance yet, AFAIK.

>	*	On my production system, I had to change the '#!/bin/sh' to
>		'#!/bin/bash' on one of the mknetrel shell scripts
>		to get the shell to accept the usage of getopts ... but on the
>		fresh install, I did not.  (This is the bash getopts builtin,
>		not the standalone and singular 'getopt' discussed above)

Yes, I have never run this under cygwin, actually.  It was intended as a
cross-compilation environment.  I'm surprised that it works on cygwin
with so few changes.

>	*	The fact that mknetrel uses i686-pc-cygwin-xxx as it's tools
>		during the build implies that it may work with a cross compiler
>		as well, or may have been developed to cross compile.  I haven't
>		yet had time to prove this.

Yep.

>	*	I use wildcards in some places to avoid explicitly stating
>		package versions.  The drawback to this approach is that it will
>		break in the presence of dup package versions.

You should be able to say "mknetrel cygwin" to have it build the latest version.
Again, I'm surprised that it would actually work with explicit versions.

>	*	Some of my test builds produced a linux version of libiberty as
>		an added bonus.  I don't know why, but it didn't seem to hurt
>		anything

"That's the way it works" (tm)

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/


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