This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
gcc problem or not ?
- From: Nickolay <nickolay at protei dot ru>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 14 Jan 2005 19:20:34 +0300
- Subject: [ECOS] gcc problem or not ?
Hello
Board IXDP425.
Attempt build simple Hello World application:
#include <stdio.h>
int main() {
printf ("Hello World!\n");
return 0;
}
arm-elf-gcc -mcpu=xscale -mbig-endian -I/gnutools/arm-elf/include/ -L
/gnutools/arm-elf/lib/xscale/be/ a.c -lc
but ./a.out fall with "Segmentation Fault".
Where i am mistaked?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss