This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and g++ compilation option to add -rpath (not in FAQ)
- To: ach at mpe dot mpg dot de
- Subject: Re: gcc and g++ compilation option to add -rpath (not in FAQ)
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Thu, 18 Mar 1999 23:58:51 +0100
- CC: egcs at egcs dot cygnus dot com
- References: <199903182141.WAA04071@o06.xray.mpe.mpg.de>
> One solution might be to put a ld wrapper into <egcs-prefix-dir>/bin
> that add -rpath ... to the arguments before it invokes the real ld. But
> Hope that there is a way to specify it during configure/bootstrap
> time so I don't have to cheat.
You don't have to configure the compiler differently. Just modify the
file 'specs' found in the same directory where 'cc1' is installed.
Regards,
Martin