This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
problem about eCos-2.0 examples!
- From: RandyLin at mxic dot com dot tw
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 21 Aug 2003 10:24:38 +0800
- Subject: [ECOS] 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