This is the mail archive of the ecos-discuss@sourceware.cygnus.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] |
Hi,when we debug our remote target(PC),we use the given
example:hello.c,but after we execute the afterwards commands,a error come out:
receive SIGNILL,illegal instruction.
our commands list as follow:
make hello
i386-elf-gdb -b 38400
target remote /dev/ttyS0
load hello.o
contine
Then error occur and the "receive
SIGNILL,illegal instruction" message display on the screen.
And we also find that the size of file
hello.o is only about 5K .
However if we use another method to
complile like this :
i386-elf-gcc -g -IBASEDIR/install/include
hello.c -o hello.o
-LBASEDIR/install/lib -Ttarget.ld -nostdlib
the size of object file hello.o is about 500K,so I do not know
why this could occur,could anyone help me ?
Thanks
Please mail back to lczhang@csrd.org
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |