This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: build ecos for linux


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

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