[ECOS] gcc problem or not ?

Nickolay nickolay@protei.ru
Fri Jan 14 16:20:00 GMT 2005


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



More information about the Ecos-discuss mailing list