This is the mail archive of the crossgcc@sources.redhat.com 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]

Moving glibc and ld-linux.so?


Is there a correct way to build the toolchain to allow the runtime libs 
(glibc) to be relocated to '/lib'?

I'm getting runtime errors with a bad search path (/opt...) when I try to run 
something with glibc. I created the cross-compiler toolchain with 
'-prefix=/opt[...]' (with the libs underneath that), but at runtime on the 
embedded machine I want to put the libs in the usual directory '/lib'. I'm 
finding that most of the libs are linked to '/opt/.../ld-linux.so.2' when I'd 
like them to be '/lib/ld-linux.so.2'. Is there a way to configure glibc to 
install to '/opt/[...]' but be ready to run at '/lib'?

-Rodney Smith
DoIT Technology


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


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