cross-compiler build problem
Michael Hayes
m.hayes@elec.canterbury.ac.nz
Wed Jun 30 15:43:00 GMT 1999
F. Heitkamp writes:
> I've tried all kinds of different configure options but I always get this
> same problem. I'm trying to make a powerpc cross compiler that runs on
> i586-pc-linux-gnu. Since the compiler is a cross compiler it shouldn't
> want to compile itself, should it?
> checking whether the C compiler (/drives/sg3/var/src/egcs-ppc/gcc/xgcc -B/drives/sg3/var/src/egcs-ppc/gcc/ -g ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
No, it's not trying to compile itself but is trying to determine what
the suffix of an executable file created by the cross compiler is.
I'm unsure of the rationale behind this is, but I've found it to be a
great nuisance and have had to explain the problem to many others
wanting to build a c4x cross compiler.
Michael.
More information about the Gcc
mailing list