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]

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


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