This is the mail archive of the ecos-discuss@sources.redhat.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: what's wrong the compile error


> 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

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