set default rpath without using -specs?
Jason Pepas
cell@cs.utexas.edu
Thu Jan 24 01:54:00 GMT 2008
Jason Pepas wrote:
> Hi,
>
> I need to set a default rpath as explained here:
>
> http://gcc.gnu.org/faq.html#rpath
>
> However, rather than having to call "gcc -specs=foo", I would like make
> this the default behavior.
>
> Back in the days of gcc 3.x, I would just edit the default specs file
> hand. However, gcc 4.x has no default specs file (the defaults are
> built-in).
oh, it turns out that if you put the specs file in the right location
(.../lib/gcc/i686-pc-linux-gnu/4.1.2/specs), gcc automatically uses it.
-jason
More information about the Gcc-help
mailing list