libtool
[Top][All Lists]
Advanced

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

Re: Consequence of using ld to link libraries on Solaris


From: Gary V . Vaughan
Subject: Re: Consequence of using ld to link libraries on Solaris
Date: Tue, 13 Apr 2004 16:51:22 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13 Apr 2004, at 15:46, Bob Friesenhahn wrote:
On Tue, 13 Apr 2004, Gary V.Vaughan wrote:

So, to accommodate this, how about we use cc to create shared
libraries on Solaris?

This problem is not specific to Solaris.  The same problem occurs on
Digital Unix, or any other OS where libtool doesn't currently use the
C compiler to link.

Is there any technical reason why we need to use ld directly anymore?

Since we mostly use the C++ compiler to do linking for the C++ tag, it
seems that there is no good reason that a similar approach can't be
used for C.  When linking using the linker, the library dependencies
are more assured, but we loose all the platform smarts which are
included for free with the compiler.

My thoughts exactly. If no-one beats me to it, I'll try and look at this
next week.

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFAfAx/FRMICSmD1gYRAv1/AJ4vU5S/ZXfaGRsVBomIaiPQU0qqVgCgz+ds
NMU6CxpPwFqeNbcd1z0iRcU=
=83HN
-----END PGP SIGNATURE-----





reply via email to

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