Adding -R or -rpath options to the specs file?
Mark Martin
mmartin@integratedgenomics.com
Tue Jul 17 14:54:00 GMT 2001
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
More information about the Gcc-help
mailing list