This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding -R to specs, need assistance
- From: Jeff Blaine <jblaine at kickflop dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Sep 2006 12:41:59 -0400
- Subject: Adding -R to specs, need assistance
I'd like to add -R/gcc/install/path/lib to a specs file
per:
http://gcc.gnu.org/faq.html#rpath
So that our users do not have to specify -R (or -Xlinker -rpath)
options in order to simply get gcc or c++ to find libgcc_s.so
or libstdc++.so (sigh...)
Could I get a little bit more information on how to do this?
I've done a 'gcc -dumpspecs > specs' but cannot really figure
out the syntax of the file or where exactly the option should
go.