problem while configuring target-libiberty while building cross compiler

Gabor Greif gabor@mac.com
Thu Oct 9 21:25:00 GMT 2003


checking for library containing strerror... configure: error: Link tests 
are not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libiberty] Error 1

this happens while building a sparc-chorusos-elf cross compiler
on a solaris7 host machine. g++-cross, etc. are already built at this 
point.

Interestingly, the same thing succeeds when the triple is 
powerpc-chorusos-elf. Apparently because in that case the config.cache 
seems
to hold the relevant values, but even when I remove config.cache, the 
values are computed allright.

Anybody who can explain why this happens, how to fix it and in first 
place, why target-libiberty is built at all (as opposed to 
host-libiberty, which is needed by the compiler itself). Is there a 
configure option to disable it?

Btw., the two triples were built with exactly the same sources, which is 
a very mildly changed CVS HEAD.

Thanks in advance for any answers, hints to solve this mystery!

Best regards,

	Gabor Greif



More information about the Gcc mailing list