This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trouble building -target=powerpc-*-elf: seems to include system specific headers



  Hi I've been trying to build a cross from x86 on linux to powerpc-*-elf.
(including powerpc-unknown-elf, and as below powerpc--elf).

I configure with:

 ./configure --target=powerpc--elf --without-headers >& configure.log & 

and build with:

 make all >& make.log & 

It terminates with:
----------------------------------------------------------------------------------------------------------------------
/localhome/ballanty/Cross/gcc-3.0.4/gcc/xgcc -B/localhome/ballanty/Cross/gcc-3.0.4/gcc/ -B/usr/local/powerpc--elf/bin/
-B/usr/local/powerpc--elf/lib/ -isystem /usr/local/powerpc--elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I. -I./. -I./config -I./../include  -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o
In file included from libgcc2.c:37:
tsystem.h:63:19: stdio.h: No such file or directory
tsystem.h:66:23: sys/types.h: No such file or directory
tsystem.h:69:19: errno.h: No such file or directory
tsystem.h:76:20: string.h: No such file or directory
tsystem.h:80:20: stdlib.h: No such file or directory
tsystem.h:81:20: unistd.h: No such file or directory
In file included from libgcc2.c:37:
tsystem.h:87:18: time.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/localhome/ballanty/Cross/gcc-3.0.4/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/localhome/ballanty/Cross/gcc-3.0.4/gcc'
make: *** [all-gcc] Error 2
----------------------------------------------------------------------------------------------------------------------

Even though I'm building a bootstrap (--without-headers) it seems to
wants library include files.  I've check the FAQ and I've browsed the
mail archives but I can't spot anything that seems to apply.

If I'm missing something obvious I can't see it --- I would appreciate
any advice.

I'm trying to create a cross environment for a mac G4 that I don't
necessarily want to run a full Linux on.  I'm thinking about trying
a port of Mach-RT.  Am I choosing the right target?  

Thanks!

Rob
-- 
--------------------------------------------------------------------------
| Rob Ballantyne                         |                               |
| email: ballanty@cecm.sfu.ca            |             _____             |
| Research Manager                       |               |               |
| Centre for Experimental and            |    -----------O-----------    |
|    Contructive Mathematics             |                               |
| Simon Fraser University                |                               |
| Burnaby, BC, CANADA    V5A 1S6         |                               |
--------------------------------------------------------------------------

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]