This is the mail archive of the 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: Compiling apps to Mingw32 with cygwin

----- Original Message -----
From: "J. Henning Schwentner" <>
To: <>
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
> 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.


Unsubscribe info:
Bug reporting:

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