Re: set default rpath without using -specs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux