[ECOS] LD problem with MPC860(MBX)

Jesper Skov jskov@redhat.com
Mon Apr 3 00:11:00 GMT 2000

>I have just started a simple port to the MBX.
>I have got as far as getting ecosconfig to make a build tree, and compile.
>Everything compiled fine with no errors.
>However, when I try compile the hello world example I get the following error:
>powerpc-eabi-gcc -msoft-float -mcpu=860          -nostartfiles -L../ecos-work/in
>stall/lib -Wl,--gc-sections -o hello hello.o -Ttarget.ld -nostdlib
>/tools/H-i686-pc-linux-gnu/powerpc-eabi/bin/ld: unkonwn option `--gc-sections'
>collect2: ld returned 1 exit status
>make: *** [hello] Error 1
>What wrong ? 
>I'm using ecos-1.3.1 version.
>Thanks for your help.

It seems the version of binutils you are using is not new enough to
support linker garbage collection. Run this:

 % powerpc-eabi-ld --version

Match the version against the requirements described in the build


More information about the Ecos-discuss mailing list