This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: LD problem with MPC860(MBX)
- To: "=?EUC-KR?B?sO3A57/r?=" <BDTel at hitel dot net>
- Subject: Re: [ECOS] LD problem with MPC860(MBX)
- From: Jesper Skov <jskov at redhat dot com>
- Date: 03 Apr 2000 09:11:42 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <7736316D14BA.AAA54C4@sni19.hitel.net>
>Hi!!!
>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
instructions.
Jesper