[ECOS] Problem in running Hello world

kanishk rastogi kanishk.85@gmail.com
Thu Jan 18 11:59:00 GMT 2007


hi all,

i configured and build ecos for an i386pc target(selected it from
templates). And set the startup type as Grub.
After this i got the required library. then i wrote a simple hello
world program (with while(1); at the end ) and build it with command:
i386-elf-gcc -I/home/linux/i386-grub_install/include/
-L/home/linux/i386-grub_install/lib/
-T/home/linux/i386-grub_install/lib/target.ld -nostdlib -g hello1.c.

and copied the a.out file to my /boot directory (i am using an i686
machine with FC4 installed).
when i load it using grub and run it doesn't prints anything on the screen.
I checked that the output to screen was configured.

Am i right on my approach to build and run the hello world prgram.

Where am i going wrong.

regards
kanishk

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list