This is the mail archive of the mailing list for the crossgcc project.

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

Target=powerpc-embeded, host=i386-linux Q:HowTo?


I have the MPC850 which is embedded PowerPC.

I thought I could build cross-compiler, host i386-linux and target
powerpc-eabi. And than with some gcc option, produce the pure (without
maschine depended things) code. 
Thats what I was duing for a M68k with some proffesional IDE (but also based
on cross gcc) on DOS.

Configuration, complilation and instalation ofÅbinutils-2.9.1 is OK. (With

Configuration of gcc-2.8.1 as --target='powerpc-*-eabi' is also OK
But when I try to: make LANGUAGES=c
I get:

Testing libgcc1.  Ignore linker warning messages.
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC    -g -I./include  libgcc1-test.o -o
libgcc1-test \
  -nostartfiles -nostdlib ./xgcc -B./
/usr/powerpc-*-eabi/bin/ld:built in linker
script:5: parse error
make: *** [libgcc1-test] Error 1

It might be that the cross version of ld is broken, because i got the error
(/usr/powerpc-*-eabi/bin/ld:built in linker script:5: parse error) when
i tried to execute the ld "as is". I have no idea, if it needs some other
target libraries or headers. But for the MPC850, I won't need any libraries,
headers because later I will generate just the "pure" code for the MPC850. -
or am I wrong?

Have You any idea?

If any answer, please do also CC:, because I'm not member of

Thank You for Your time,

Best regards,

Lubos Bohm
Internet team of Czech Radio