This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem in running Hello world
- From: Andrew Lunn <andrew at lunn dot ch>
- To: kanishk rastogi <kanishk dot 85 at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 18 Jan 2007 13:05:22 +0100
- Subject: Re: [ECOS] Problem in running Hello world
- References: <9ee2fe770701180359s3f92f847lf6c8c6ebbdeaa046@mail.gmail.com>
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