Comparing Bill and Karim's cross-compile scripts. Updating Bi ll's to gcc 3.2.3.
Dan Kegel
dkegel@ixiacom.com
Mon May 19 17:31:00 GMT 2003
Robert Schwebel wrote:
> Regarding the glibc --prefix: I always had problems configuring it
> correctly, because if I used the path on the development host it is
> hardcoded into ld-linux.so :-(, so at the moment I build glibc twice,
> once with --prefix=$(PTXCONF_PREFIX)/$(PTXCONF_GNU_TARGET) and once with
> --prefix= , the first one for "make install", the second one for a
> correct path in ld-linux.so. Needless to say that this needs _quite_ a
> lot of time and I would be happy to get rid of it.
You *can* get rid of it. Use /usr for --prefix, then override prefix
to something else at install time. Result: no wrong paths hardcoded.
Let us know if this doesn't work for you.
- 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