----- Original Message ----- From: "J. Henning Schwentner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 12:57 AM Subject: Re: Compiling apps to Mingw32 with cygwin
> Thanks for your quick help, this works nice! > > But, it is a bit difficult. I think ideally configure should detect > --host=mingw32 --build=cygwin and in this case should add --mno-cygwin to > CFLAGS and CPPFLAGS (and do something to fix libtool). Why? That would prevent compiling with a cygwin target. --host and --build and --target are _user_ switches. configure should never alter those. As for detecting -mno-cygwin, you can use a variation of the AC_API_WIN32 Macros' I posted to the autoconf list some time back - but only do that when you've checked the host platform is actually mingw32. > I am not sure if this is a bit off topic, maybe this sould be posted to the > autoconf list. It's in the grey area, still related to cygwin, but heading to autoconf only pretty quickly. Rob -- 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/