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: Objcopy problem


Stefan Eletzhofer wrote:
> I just edited ecos.ecc to add -fno-pic to the user-defd CFLAGS, did
> a ecosconfig tree, removed all objects and the redboot.* images and recompiled.
> -fno-pic was used during compilation.
> 
> I get still the same results.

Those sections are probably coming in via libgcc, which was potentially
built for PIC. Is this an arm-linux toolchain? If so, rebuild for arm-elf.
If not, tell us what target you are using.
 
> What next? Has anyone had the same problem yet? Should i use a not-so-recent
> version of ecos/redboot?

It's to do with your tools, not eCos/RedBoot.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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