This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup changes to build standalone
On Fri, Apr 26, 2002 at 01:44:32PM +1000, Robert Collins wrote:
>> 2) The above won't work in a cross build environment. You could say
>> CC='i686-pc-cygwin-gcc -mno-cygwin'..., I guess.
>
>for cross compiles:
>../setup/configure --host=i686-pc-mingw32 --build-i686-pc-linux
>should do it (assuming a mingw32 cross compiler is present), or a
>combination using the CC string you have above with the mingw host will
>work too.
Assuming you have a mingw cross compiler is what I was trying to avoid.
For this purpose a 'gcc -mno-cygwin' compiler should work fine.
I think the use of CC='i686-pc-cygwin-gcc -mno-cygwin' should work
everywhere though.
cgf