public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* set default rpath without using -specs?
@ 2008-01-18 16:04 Jason Pepas
  2008-01-24  1:54 ` Jason Pepas
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Pepas @ 2008-01-18 16:04 UTC (permalink / raw)
  To: gcc-help

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).

thanks,
jason pepas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: set default rpath without using -specs?
  2008-01-18 16:04 set default rpath without using -specs? Jason Pepas
@ 2008-01-24  1:54 ` Jason Pepas
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Pepas @ 2008-01-24  1:54 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-22 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 16:04 set default rpath without using -specs? Jason Pepas
2008-01-24  1:54 ` Jason Pepas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).