This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool: how to link with compiled glibc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]