[Top][All Lists]

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

Re: How can I test if the GNU or Sun linker is used?

From: Russ Allbery
Subject: Re: How can I test if the GNU or Sun linker is used?
Date: Thu, 06 Aug 2009 20:04:54 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Ben Pfaff <address@hidden> writes:
> Russ Allbery <address@hidden> writes:

>> I used to feel that way, but I'm personally switching everything over
>> to it, particularly as I have access to fewer and fewer platforms
>> myself.  I don't think it provides as much portability in some cases as
>> hand-tuned linker flags, but unless one has access to a ton of
>> different systems, it's hard to hand-tune the flags in all the ways
>> needed.

>> However, lintian still doesn't solve all the problems.  For example,
>> all the flags I mentioned in my previous message are ones that lintian
>> has no API for, so you still have to figure out what flags to pass to
>> the underlying linker.  Lintian's Autoconf probes do help a bit because
>> lintian has to check for things like whether the GNU linker is in use
>> itself.

>> You could also steal code from lintian's Autoconf probes without using
>> it directly.  I've done that before for some projects.
> I think that many (but perhaps not all) of the instances of
> "lintian" above should actually refer to "libtool".

Ack, yes, sorry.  *sigh*  Finger macro.

Russ Allbery (address@hidden)             <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]