Passing LDFLAGS to stage2 and stage3 gcc
Rainer Emrich
r.emrich@de.tecosim.com
Tue Sep 9 09:04:00 GMT 2008
prj@po.cwru.edu schrieb:
> 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
>
Paul,
thank's for the hint.
But anyway that leaves the question how to avoid editing of Makefiles.
If the number of helper libraries keeps increasing, there should be a configure
option to do this.
Any comments from any one?
--
Mit freundlichen GrüÃen / Best Regards
Dipl.-Ing. Rainer Emrich
Dept. Manager IT/Softwareentwicklung
TECOSIM Technische Simulation GmbH
Ferdinand-Stuttmann-StraÃe 15
D-65428 Rüsselsheim
Phone +49 (0) 6142 8272-330
Fax +49 (0) 6142 8272-249
Mobile +49 (0) 163 5694920
www.tecosim.com
best partner for simulation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
TECOSIM Technische Simulation GmbH, Rüsselsheim
Firmensitz: Ferdinand-Stuttmann-StraÃe 15, 65428 Rüsselsheim
Registergericht: Amtsgericht Darmstadt, HRB 83704
Geschäftsführer: Udo Jankowski, Jürgen Veith
More information about the Gcc
mailing list