Hi Andi, I did try -nodefaultlibs with -L options. But it didn't seem to work. Here is the link map: ========================================================= Memory Configuration Name Origin Length Attributes *default* 0x0000000000000000 0xffffffffffffffff Linker script and memory map LOAD 1.o LOAD /opt/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/soft-float/el/usr/lib/libc.so START GROUP LOAD /opt/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/soft-float/el/lib/libc.so.6 LOAD /opt/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/soft-float/el/usr/lib/libc_nonshared.a LOAD /opt/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/soft-float/el/lib/ld.so.1 END GROUP ========================================================= The system directories take precedence of -L directories. The linker options are: -nodefaultlibs -nostdlib -L$(UCLIBC)/lib -lc ---- Best Regards PRC Dec 17,2009