This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Environment setting LDFLAGS ineffective after installation stage 1. Any workaround?
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Thierry Moreau <thierry dot moreau at connotech dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 31 May 2011 20:30:54 +0200 (CEST)
- Subject: Re: Environment setting LDFLAGS ineffective after installation stage 1. Any workaround?
- References: <4DE5339C.50503@connotech.com>
- Reply-to: gcc at gcc dot gnu dot org
(gcc-help ?)
On Tue, 31 May 2011, Thierry Moreau wrote:
But with the gcc (latest 4.6.1 snapshot), -rpath (requested through LDFLAGS
as indicated above) is effective only for executables built in stage 1 (and
fixincl), but not for the installed gcc executables.
Is it intentional that the LDFLAGS environment setting is partially effective
during gcc build?
Yes. For further stages, there is BOOT_LDFLAGS. There is also a configure
option with a similar name.
--with-stage1-ldflags=
--with-boot-ldflags=
see:
http://gcc.gnu.org/install/configure.html
--
Marc Glisse