More build oddities

Alan Cudmore Alan.P.Cudmore at nasa.gov
Thu Apr 10 02:52:38 UTC 2008


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:

> configure:3471: /Developer/usr/bin/cc -mcpu=403 -Dppc405 -Dvirtex - 
> O2 -
> g -fno-keep-inline-functions   conftest.c  >&5
> cc1: error: invalid option 'cpu=403'
> configure:3474: $? = 1
> configure:3512: result:
> configure: failed program was:


Are you running the build script from the terminal?

Did you add new code to the RTEMS directory?
If so, did you run the bootstrap script ?


Alan







More information about the users mailing list