This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Default path for dynamic linker


Hi, 

I have a problem while building a cross glibc for the ARM target.
Several people seem to have the same problem according to Google, but I
didn't find a solution. 

I compile my cross chain and glibc on my development host. On this
machine things live in $PREFIX/arm-linux. Which means that I have to
configure glibc with --prefix=$PREFIX; afterwards I can compile
everything and make install works like desired. 

Now, when I copy the library and ld-linux.so to my embedded system
target the latter one has it's default path compiled into the binary,
coming from default-rpath in $GLIBC/Makeconfig as far as I can see. 

The problem is: is it possible to change the compiled in default path to
/lib _without_ changing --prefix? Because if I change it to / I had to
be extremely carefull not to run 'make install'. 

Or do I miss something? 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4


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