Comparing Bill and Karim's cross-compile scripts. Updating Bill's to gcc 3.2.3.
Dan Kegel
dkegel@ixiacom.com
Sat May 17 01:01:00 GMT 2003
Dan Kegel wrote:
> 368: Karim specifies --prefix=/usr, but Bill specifies --prefix=$PREFIX.
> This means Bill's shared libraries have the wrong path hardcoded
> in them; you can tell using 'strings'. e.g.
> $ strings powerpc-linux/lib/ld-2.2.4.so | grep home
> /home3/dank/h/powerpc-linux/lib/
> /home3/dank/h/powerpc-linux/etc/ld.so.cache
See also http://www.ltc.com/~brad/mips/mips-cross-toolchain/building.html
which says that --prefix=/usr is a Special Case on linux.
Karim says "by setting --prefix to /usr, the
configuration script recognizes this setup and the relevant directory
paths are properly hardcoded..."
- Dan
------
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