Re: The system directories can't be changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux