[clug] Changing gcc/ld's library path

Adam Baxter voltagex at voltagex.org
Thu Apr 18 08:25:36 MDT 2013

Hi all,
I'm messing around with more embedded development - this time a
Netgear MIPS based router.

I'm trying to test my toolchain with hello world, but I'm running into
the following:

>mipsel-linux-uclibc-gcc -I/opt/brcm/mipsel_gcc-4.3.3_uclibc- hello.c -B/opt/brcm/mipsel_gcc-4.3.3_uclibc-

cannot find /lib/libc.so.0
collect2: ld returned 1 exit status

I don't want the mipsel gcc to try to use my x64 /lib so what am I
missing to get it to search in the right place?


More information about the linux mailing list