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: Hello? World?


Nick Clarey wrote:
> 
> arm-elf-gcc -Wl,--gc-sections -Wl,-static -Wl,-N -g
> -L/home/nclarey/src/ecos-devel/kernel-build/install/lib -nostdlib -nostartfiles -Ttarget.ld hello.o -o
> hello

The link order is important. Place hello.o before -Ttarget.ld.

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]