[Buildroot] Changing uclibc runtime prefix
Tony Borras
tonyb at sysdev.org
Fri Dec 21 11:03:54 PST 2007
On Fri, 21 Dec 2007 10:30:41 -0800 (PST)
TonyB <tonyb at orion.sysdev.org> wrote:
> I'd like to install uClibc in /usr/i386-uclibc/*, and
> configure the cross-gcc and binutils to link against this
> library. I'm using buildroot to generate the toolchain only.
>
> Problem is that I can't get buildroot to configure uclibc
> and gcc the way I want. My configuration
>
> The problem is that all binaries compiled with this
> toolchain, are still expecting the ld library loader to be
> /lib/ld-uClibc.so.0, instead of
> /usr/i386-uclibc/lib/ld-uClibc.so.0 !
Buildroot has limited buildtime auto-configuration editing
capabilities of the runtime configs it creates. I suspect
that it might not be smart enough to configure your custom
/etc/ld.so.conf.
So try checking the created ld.so.conf to include your
/usr/i386-uclibc/lib path, as well as any other paths for your
GNU libc's, that you are also using...
TonyB
There are 10 types of people in this world, those that read
binary and those who don't!
--
__ __ _ I N C. http://www.sysdev.org
/ __|\\// __|| \ __ __ / tonyb at sysdev.org
\__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities
|___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers
More information about the buildroot
mailing list