This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding -R or -rpath options to the specs file?
- To: gcc-help at gcc dot gnu dot org
- Subject: Adding -R or -rpath options to the specs file?
- From: Kyle McDonald <Kyle dot McDonald at east dot sun dot com>
- Date: Mon, 16 Jul 2001 17:46:08 -0400
- Organization: Sun Microsystems Inc.
- Reply-To: Kyle dot McDonald at Sun dot COM
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
--
_
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald (o o) Systems Support Engineer
Sun Microsystems Inc. |||||
High End Server Engineering Kyle.McDonald@Sun.COM
1 Network Drive BURL03-403 \\\// voice: (781) 442-2184
Burlington, MA 01803 (o o) fax: (781) 442-1646
-------------------------------ooO(_)Ooo-------------------------------