Passing LDFLAGS to stage2 and stage3 gcc
Paul Jarc
prj@po.cwru.edu
Tue Sep 9 08:20:00 GMT 2008
Rainer Emrich <r.emrich@de.tecosim.com> 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
More information about the Gcc
mailing list