cross-gcc targetting PowerPC MPC8349 running in little endian mode
Daniel
dabokey@yahoo.com
Wed Jun 14 20:52:00 GMT 2006
I forgot to mention that I am using crosstool-0.42.
- Daniel
--- Daniel <dabokey@yahoo.com> wrote:
> I've created a powerpc-8349.dat file for use with
> cross-gcc:
>
> TARGET=powerpc-unknown-linux-gnu
> TARGET_CFLAGS="-O3 -pipe -fsigned-char
> -mpowerpc-gfxopt"
> GCC_EXTRA_CONFIG="--enable-cxx-flags=-mcpu=powerpc"
>
> Unfortunately, when I attempt to compile a simple
> hello world program with:
>
> # powerpc-linux-gcc -mli ttle hello.c
>
> which yields:
>
>
/usr/local/toolchain_ppc/gcc-4.1.0-glibc-2.3.6/powerpc-unknown-linux-gnu/lib/gcc
>
/powerpc-unknown-linux-gnu/4.1.0/../../../../powerpc-unknown-linux-gnu/lib/libgc
> c_s.so: 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.
>
> Thoughts?
>
> - Daniel
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list