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