This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: build ecos for linux
- To: Jesper Skov <jskov at cygnus dot co dot uk>
- Subject: Re: [ECOS] build ecos for linux
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Fri, 17 Dec 1999 15:56:17 +0000
- CC: j dot d dot charlton at ieee dot org, ecos-discuss at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <199912162123.QAA21179@smtp6.mindspring.com> <otn1ra1pin.fsf@thinktwice.zoftcorp.dk>
Jesper Skov wrote:
>
> >>>>> "j" == j d charlton <j.d.charlton@ieee.org> writes:
>
> j> I am using redhat 6.0 with gcc and ld versions: $
> j> i686-pc-linux-gnu-gcc -v Reading specs from
> j> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/specs gcc version
> j> 2.95.1 19990816 (release) $ i686-pc-linux-gnu-ld -v GNU ld version
> j> 2.9.1 (with BFD 2.9.1) $
>
> You need to build new tools from the sources available at
> sourceware.
Strictly you shouldn't need to.
> Or you can remove the linker --gc-sections argument (look
> in pkgconf/pkgconf.mak in your build dir).
That's certainly an adequate workaround since garbage collecting sections is
less relevant for linux.
But more specifically, use an ld from a more recent binutils snapshot.
Unfortunately there hasn't been a binutils release for over a year now I
believe, and there is useful stuff that has been in the binutils sources for
ages that people still aren't using.
Of course, there is a risk in using a binuntils snapshot :-/. But for
targets like linux, it should be pretty stable.
Jifl
--
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
my brains kept falling out." || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault