More build oddities
Ralf Corsepius
ralf.corsepius at rtems.org
Thu Apr 10 03:45:53 UTC 2008
On Wed, 2008-04-09 at 22:52 -0400, Alan Cudmore wrote:
> Somehow this configure script is picking up your native GCC instead
> of the powerPC cross GCC:
> > configure:3038: checking for powerpc-rtems4.8-gcc
> > configure:3065: result: /Developer/usr/bin/cc
> > configure:3086: checking for powerpc-rtems4.8-gcc
> > configure:3113: result: /Developer/usr/bin/cc
> > configure:3391: checking for C compiler version
> > configure:3398: /Developer/usr/bin/cc --version >&5
>
> Then it fails because it does not know the PowerPC options:
True, but .... this is only a side-effect - This is the wrong compiler.
The OP likely has his environment bugged.
Very likely he has
* a broken $PATH
* some environment variables set which interfere (LIB, LIBS, CC, CFLAGS)
* A mis-compiled cross-toolchain,
the config.log being generated by c/src/configure would tell.
Ralf
More information about the users
mailing list