Description of Problem: Dear all, I had read the mailing list and try many times, but I still met the same problem. Anyone had the same experience and help me? Thanks in advance. I follow "http://sources.redhat.com/ecos/tools/linux-thumb-elf.html" to build ARM THUMB successful.(build "binutil", "gcc") % /src/binutils/binutils-2.13/configure --target=arm-elf \ --prefix=/tools \ --exec-prefix=/tools/H-i686-pc-linux-gnu \ -v 2>&1 | tee configure.out % make -w all install 2>&1 | tee make.out % PATH=/tools/H-i686-pc-linux-gnu/bin:$PATH ; export PATH % /src/gcc/gcc-3.2/configure --target=arm-elf \ --prefix=/tools \ --exec-prefix=/tools/H-i686-pc-linux-gnu \ --with-gnu-as --with-gnu-ld --with-newlib \ -v 2>&1 | tee configure.out After that, I build "newlib" and it is ok. % /src/newlib/newlib-1.10.0 --target=arm-elf --prefix=/tools --exec- prefix=/tools/H-i686-pc-linux-gnu -v 2>&1 | tee configure.out % make all install 2>&1 | tee make.out and I use "arm-elf-gcc" to compiler a very simple hello.c(just a printf function inside) %arm-elf-gcc -o hello hello.c I execute it in ARM environment and it will appear"Segmentation fault". Can everybody tell me? thank again Version-Release number of selected component (if applicable): I use "binutils-2.13.tar.gz", "gcc-core-3.2.tar.gz", "gcc-g++- 3.2.tar.gz", "newlib-1.10.0.tar.gz" How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=75869