Rainer Emrich wrote: > [EMAIL PROTECTED] schrieb: >> Rainer Emrich <[EMAIL PROTECTED]> wrote: >>> So I wan't to pass LDFLAGS="-Wl, -rpath, /somedir" to stage3 to link gcc, >>> cpp, >>> etc. with the rpath information. >> I do this by editing LDFLAGS_FOR_TARGET in the top-level Makefile.in, >> and also passing LDFLAGS, BOOT_LDFLAGS, and HOST_LDFLAGS assignments >> as arguments to make. I'm not cross-compiling, though, so you may >> have to adjust that somewhat. > > Paul, > > thank's for the hint.
HOST_LDFLAGS does not exist, and you should be able to pass LDFLAGS_FOR_TARGET on the command-line. Anyways, for your needs all you have to do is make BOOT_LDFLAGS=-Wl,-rpath,/somedir Paolo