crosstool: how to link with compiled glibc

Dan Kegel dank@kegel.com
Thu Dec 1 23:26:00 GMT 2005


On 12/1/05, Mark Jessee <mjessee04@gmail.com> wrote:
> Hi, I'm just getting started with crosstool.  I've successfully built
> a toolchain using the demo-i386.sh script.  However I need some help
> on how to use the glibc libraries that were also build.  When I
> compile a simple test program using the new compiler and then run
> 'ldd', it shows that they are linked against my previously installed
> system libraries.

You misunderstand what ldd does.
It shows you what libraries would be loaded if you tried
to run the apps right now on the current system.
- Dan

--
Why can't Johnny run Linux?  See http://kegel.com/linux/comfort

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list