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]

problem about eCos-2.0 examples!


I had redboot[RAM] running on my EB40
I compile the examples(twothreads):
arm-elf-gcc -g -I/opt/project/eCos/ecos_eb40_install/include twothreads.c
-L/opt/project/eCos/ecos_eb40_install/lib -Ttarget.ld -nostdlib
I got a.out, then arm-elf-gdb -nw a.out
twothreads runs.

But compile the examples:
make INSTALL_DIR=/opt/project/eCos/ecos_eb40_install
I got hello twothreads serial simple-alarm,
then, arm-elf-gdb -nw twothreads, and nothing came out.

what's the different between the a.out and twothreads?
is something i miss?




-- 
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]