[ECOS] hello world doesnt run

Jonathan Larmour jifl@eCosCentric.com
Tue Sep 2 02:45:00 GMT 2003


abhijeet mhatre wrote:
> Dear list
>   I installed ecos and configured it for the synthetic
> linux target. 
[snip]
> then I did 
> # /opt/ecos2/gnutools/i386-elf/bin/i386-elf-gdb hello
> (gdb) run
> 
> which gave output
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=i386-elf"...
> (gdb) run
> Starting program: /opt/ecos2/ecos-2.0/examples/hello 
> Don't know how to run.  Try "help target".
> 
> Does anyone know how to configure for i686. That seems
> to be a problem here.

You need to run native gdb, not i386-elf-gdb.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


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



More information about the Ecos-discuss mailing list