From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Àå¿øÈ£ Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] what's wrong the compile error Date: Thu, 14 Sep 2000 08:26:00 -0000 Message-id: <39C0EE11.EDE61168@redhat.com> References: <000d01c01de8$cc7f8020$a68c6fd2@netsgo.com> X-SW-Source: 2000-09/msg00224.html > 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