Re: Using gcc on an embedded system, with its own prefix and lib dirs.

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

 



On Wed, Mar 26, 2014 at 10:43 AM, Lance Fredrickson
<lancethepants@xxxxxxxxx> wrote:
>
> Does gcc have hard-coded somewhere to look for ld.so.conf in /etc? If I
> could define my own location for gcc, for example /mmc/etc/ld.so.conf, then
> that would work perfect for me. Would this be possible?

GCC proper does not look at ld.so.conf at all, as far as I know.

The GNU linker does look at ld.so.conf in some cases.  You can change
that by configuring the linker with a --sysroot option.

The GNU C library does, of course, look at /etc/ld.so.conf at run
time.

Ian




[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