Hi, When I do: # arm-9tdmi-linux-gnu-gcc -static -v testcpro.c Reading specs from /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/specs Configured with: /home/pramod/crosstool-0.38/build/arm-9tdmi-linux-gnu/gcc-3.4.3-glibc-2.3.4/gcc-3.4.3/configure --target=arm-9tdmi-linux-gnu --host=i686-host_pc-linux-gnu --prefix=/home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu --with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi --enable-cross --disable-multilib --with-headers=/home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/arm-9tdmi-linux-gnu/include --with-local-prefix=/home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/arm-9tdmi-linux-gnu --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long Thread model: posix gcc version 3.4.3 /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/libexec/gcc/arm-9tdmi-linux-gnu/3.4.3/cc1 -quiet -v -D__ARM_ARCH_4T__ testcpro.c -quiet -dumpbase testcpro.c -mcpu=arm9tdmi -auxbase testcpro -version -o /tmp/ccTnnGRn.s #include "..." search starts here: #include <...> search starts here: /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/include /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/sys-include /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/include End of search list. GNU C version 3.4.3 (arm-9tdmi-linux-gnu) compiled by GNU C version 4.0.0 20050519 (Red Hat 4.0.0-8). GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63150 /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/bin/as -mcpu=arm9tdmi -o /tmp/ccYu5icD.o /tmp/ccTnnGRn.s /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/libexec/gcc/arm-9tdmi-linux-gnu/3.4.3/collect2 -Bstatic -dynamic-linker /lib/ld-linux.so.2 -X -m armelf_linux -p -o testcpro-static /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/lib/crt1.o /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/lib/crti.o /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/crtbegin.o -L/home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3 -L/home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/lib /tmp/ccYu5icD.o --start-group -lgcc -lgcc_eh -lc --end-group /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/crtend.o /home/pramod/crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/3.4.3/../../../../arm-9tdmi-linux-gnu/lib/crtn.o seems to be OK. I tried: # arm-9tdmi-linux-gnu-objdump -s ./a.out works well. Now Plz tel me what could be the problem with # ./testcpro-static Illegal instruction Thanx ---------------------------------------------------------------- PRAMOD P. K., <pra.engr@xxxxxxxxx> CDMA: 91- 9242195490. ----------------------------------------------------------------