Mail Archives: cygwin/2009/01/29/03:00:59
At:
http://www.cygwin.com/ml/cygwin/2009-01/msg00848.html
Charles Wilson said:
Greg said
>>
>>I use '--build=3Di686-pc-mingw32 --host=3Di686-pc-mingw32'. Here:
>> http://lists.gnu.org/archive/html/libtool-patches/2009-01/msg00193.html
>>you say that's lying to 'configure', but you also observe that
>>I'm in excellent company. I'd be dismayed if that broke.
>
>Well, as I point out above: it's already very fragile, and.requires a
>great deal of careful setup to get it to work "correctly" (if generating
>DLLs with the wrong name can be considered "correct").
>
>I wouldn't want to gratuitously break this usage, but I am leaning
>towards endorsing the suggestion that it's bad to lie to your toolchain.
>However, if you REALLY want to do so, and assume all the risk of
>breakage/failure/hairloss/heartburn, then...set these [*] environment
>variables before you ./configure, and then cross your fingers...
The reasons I use "--build=3Dmingw32 --host=3Dmingw32 --target=3Dmingw32"=
=20
when building gcc are
1) I have, perhaps mistakenly, assumed that "--build=3D" referred to the OS=
of the compiler,
not the ethnicity of the shell.
2) my build gcc is a mingw32 gcc, and unlike a cygwin-hosted gcc, doesn't u=
nderstand
symlinks. "--build=3Dcygwin32" would suggest that the native gcc understa=
nds symlinks.
Ditto for my binutil and gdb apps which do not depend on cygwin.
3) specifying "--host=3Dmingw32 --target=3Dmingw32" usually works just fine=
too (within a
cygwin bash shell), for most projects, as long as there are no assumptions =
about symlinks.
4) "--build=3Dmingw32 --host=3Dmingw32 --target=3Dmingw32" always seemed t=
o be a natural way to
do a bootstrap.
I don't set any special environment variables before I "bash ./config.sh" f=
rom a DOS
prompt (my everday path just put C:/mingw/bin in front of C:/cygwin/bin) an=
d I don't cross
my fingers because I know it has worked for 10 years or so.
Danny
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -