This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: what's wrong the compile error
- To: Àå¿øÈ£ <whjang at acrowave dot com>
- Subject: Re: [ECOS] what's wrong the compile error
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 14 Sep 2000 16:26:09 +0100
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <000d01c01de8$cc7f8020$a68c6fd2@netsgo.com>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_000A_01C01E34.3C57E5E0
> Content-Type: text/plain;
> charset="ks_c_5601-1987"
> Content-Transfer-Encoding: base64
>
> SGkNCg0KDQpXaGF0J3MgdGhlIHdyb25nPyAgRm9sbG93aW5nIHRoZSBjb21waWxlIGVycm9yIG1l
> c3NhZ2UuDQogDQorKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr
> KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr
Firstly, please don't post MIME base64 encoded mails. It's antisocial and
will only lead to your posts being ignored.
To answer your question, I believe the answer is that in your command-line:
> powerpc-eabi-gcc -msoft-float -mcpu=860 -g --nostdlib -Wl,--gc-sections -Wl,-static -L//C/My_eCos/jwh_test/test6_install/lib -Ttarget.ld -o
//C/My_eCos/jwh_test/test6_install/bin/ecos.elf src/hello.o
src/twothreads.o
It should be -nostdlib with a single hyphen, not --nostdlib, and (just in
case) try placing it after the -Ttarget.ld.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault