Subject: Re: X library path, etc.
To: Peter Seebach <seebs@plethora.net>
From: Jared D. McNeill <jmcneill@invisible.yi.org>
List: current-users
Date: 01/14/2002 20:11:22
On Mon, 14 Jan 2002, Peter Seebach wrote:
> The main problem is that many, many, programs assume that "-L" is enough,
> so I spend a lot of time editing files.  Perhaps it would be reasonable to
> assume that any "-L" implies a corresponding -Wl,-R unless somehow indicated
> otherwise.

You could probably write yourself a small wrapper script for gcc to do
this for you; I, for one, would prefer to have them separate.

Your script would only need to replace any instance of -Lblah on the
command line with -Lblah -Wl,-Rblah, and pass them on to gcc.

Jared