Trouble building gcc-3.4.0 cygwin->linux
Dan Kegel
dank@kegel.com
Tue Jun 8 01:05:00 GMT 2004
Gerrit P. Haase wrote:
>>>.../crosstool-0.28-rc5/build/i686-unknown-linux-gnu/gcc-3.4.0-20040416-glibc-2.1.3/gcc-3.4.0-20040416/configure
>>>--target=i686-unknown-linux-gnu --host=i686-host_pc-cygwin
>
>
> Isn't the correct host name for Cygwin i686-pc-cygwin?
Yes. However, the 2nd field (manufacturer, I think) of the gnu machine tuple
is checked by very few tools, and I have hijacked it to compensate
for the lack of a "this is a cross compiler, goddammit" flag in autoconf.
In other words, I make the build, host, and target identifiers unique
by appending _build and _host to the build and host identifiers' manufacturer field.
It's a nasty trick, but until autoconf and all the apps that use it
have some other way of forcing cross-compilation, I'm stuck with it.
In any case, that's not the problem; the problem was the bug in method.c,
which I have a workaround for.
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
More information about the Gcc
mailing list