On Wed, Feb 14, 2007 at 08:54:01AM +0100, [EMAIL PROTECTED] wrote: > this is needed only for building on cygwin and you don't want the > built executables to depend on cygwin.dll. This is how libjit is > built on win32 so we have to do the same for pnet if we use the > libjit. > > We have to add a compiler switch (-mno-cygwin) for the build of pnet > but we have to use the same for libgc too. If we don't export CC > libgc is cinfigured with cygwin.dll and the build breaks.
Well, if you want to add this to the CFLAGS in case you switch on/off cygwin, wouldn't the right solution be to add a toplevel '--enable/disable-cygwin' (or an automatic test which does the equivalent), which adds -mno-cygwin to the CFLAGS? Autotools handles this information down to the inferior packets. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 _______________________________________________ Developers mailing list [email protected] http://dotgnu.org/mailman/listinfo/developers
