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]
Other format: [Raw text]

hello world doesnt run


Dear list
  I installed ecos and configured it for the synthetic
linux target. 

Then I went to the examples directory and commented
out all the targets except hello

I compiled the sample application hello world for
i-386-pc by running 

# make 
INSTALL_DIR=/root/abhijeet/programs/ecos/test1_install


which gave output
i386-elf-gcc -nostartfiles
-L/root/abhijeet/programs/ecos/test1_install/lib
-Ttarget.ld -g -nostdlib -Wl,--gc-sections -Wl,-static
-o hello hello.o

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.

regards
Abhijeet D Mhatre

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


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