This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: Problem in running Hello world


On Thu, Jan 18, 2007 at 05:29:01PM +0530, kanishk rastogi wrote:
> 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.

Try checking the serial ports anyway. By default it will use the
serial port if you don't change the configuration.

       Andrew

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


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