This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Adding -R or -rpath options to the specs file?
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: RE: Adding -R or -rpath options to the specs file?
- From: Medhavi Dhawan <DhawanM at digitalcommerce dot com>
- Date: Wed, 18 Jul 2001 11:07:16 -0400
How do I unsubscribe?
-----Original Message-----
From: Mark Martin [mailto:mmartin@integratedgenomics.com]
Sent: Tuesday, July 17, 2001 4:56 PM
To: Kyle.McDonald@Sun.COM; Kyle McDonald;
Subject: Re: Adding -R or -rpath options to the specs file?
The gcc man page documents the syntax for the specs file.
Good luck,
Mark
On Monday 16 July 2001 16:46, Kyle McDonald wrote:
> Hi all.
>
> I'd like to add options to the specs file so that g++
> will pass the -R /path/to/libstdc++.so to the linker.
>
> I'd like it to only do this for directory containing
> libstdc++.so, and NOT for other -L/path options that
> the user might specify.
>
> I'm looking to do this for both gcc-2.8.1 and 2.95.3
>
> I tried looking at the specs file, but It wasn't clear
> what I should add, or where I should add it. The FAQ
> kind of answers where to put it, but I'm still at a
> loss for what I need to add. Where can I find docs on
> the syntax for the specs file? Is there some special
> syntax so that it will only apply to g++ and not gcc?
>
> Also I think I read that gcc-3.0 now has a shared
> libgcc.so - I think this means I'll need something
> similiar for it when I install 3.0??
>
> Thanks for your help.
>
> -Kyle