-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paolo Bonzini on 8/31/2009 7:02 PM:
> I usually modify CC instead.  I never tried for gnulib, but it would
> look like this:
> 
>     MINGW=$(cygpath -u '\mingw')
>     export PATH=$MINGW/bin:$PATH
>     ./configure --host=i586-pc-mingw32 --prefix=$MINGW \
>       CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \

I also prefer to modify CC, not CFLAGS, particularly since in cygwin 1.7,
there will eventually be a true cross compiler, and all I will have to do
is rename CC='gcc -mno-cygwin' to CC=gcc-i686-pc-mingw, without touching
CFLAGS.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqcc8UACgkQ84KuGfSFAYADMwCdGjFLUf4pG3ScRKJnkbumm47r
JQkAn0I0U5wju+V9qMUBsA5ybCPUvP8v
=Ytuj
-----END PGP SIGNATURE-----


Reply via email to