This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Passing LDFLAGS to stage2 and stage3 gcc


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


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