This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Adding -R or -rpath options to the specs file?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]