cross-gcc targetting PowerPC MPC8349 running in little endian mode

Wed Jun 14 20:45:00 GMT 2006

I've created a powerpc-8349.dat file for use with

TARGET_CFLAGS="-O3 -pipe -fsigned-char

Unfortunately, when I attempt to compile a simple
hello world program with:

# powerpc-linux-gcc -mli ttle hello.c

which yields:

/powerpc-unknown-linux-gnu/4.1.0/../../../../powerpc-unknown-linux-gnu/lib/libgc could not read symbols: File in wrong format
collect2: ld returned 1 exit status

I've tried other targets such as powerpc-linux-eabi,
pwerpcle-linux-unknown-gnu, and powerpcle-linux, all
without success.  

I've also tried specifying "--enable-biendian" as one
of the GCC_EXTRA_CONFIG parameters.  This builds
successfully, though it still doesn't allow me to
compile with the -mlittle parameter.


 - Daniel

For unsubscribe information see

More information about the crossgcc mailing list