[ghudson@MIT.EDU: Re: -Xlinker and LDFLAGS]
Phil Edwards
pedwards@disaster.jaj.com
Thu Jan 11 22:51:00 GMT 2001
On Fri, Jan 12, 2001 at 05:47:03PM +1100, Fergus Henderson wrote:
> On 12-Jan-2001, Phil Edwards <pedwards@disaster.jaj.com> wrote:
> >
> > I'll reiterate my suggestion that on platforms where we don't already
> > pass -R, we should recognize and warn about it. Something like "-R is way
> > nonportable, maybe you want to start using -Wl".
>
> I don't see how that helps, since `-Wl' is no more portable than `-R',
> isn't it?
No, -Wl is understood by GCC itself. It's used to pass arbitrary
options down to the linker. In this case, '-Wl,-Rdirectory' or '-Wl,-R
-Wl,directory' depending on whether a space is required, etc.
I should not have left that out in my previous message, sorry.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.
More information about the Gcc
mailing list