Date: Fri, 16 Oct 1998 19:38:44 -0500 From: Jacques Vidrine <n@nectar.com> To: Peter Wemm <peter@netplex.com.au> Cc: hackers@FreeBSD.ORG Subject: Re: ld and -soname Message-ID: <E0zUKOK-00062Y-00@spawn.nectar.com> In-Reply-To: <199810162323.HAA23345@spinner.netplex.com.au> References: <199810162323.HAA23345@spinner.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
MM, that won't solve the problem which I'm trying to solve.
I want an ``easy fix'' for the Makefiles in the world that
have something like
libfoobar.so.${VERSION}: ${OBJS}
${LD} ${LDFLAGS} -o libfoobar.so.${VERSION} ${OBJS}
I can't very well put -soname in LDFLAGS. A flag to tell
ld to set DT_SONAME to the same value given to -o would
be groovy.
Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org
On 17 October 1998 at 7:23, Peter Wemm <peter@netplex.com.au> wrote:
> Just a thought.. the gcc driver can probably arrange this via the LINK
> specs in the config file. You can test this with a gcc -dumpspecs, edit
> the result and place it in /usr/libdata/gcc/specs. use gcc -v to make
> sure that it's being read, and that the args are being passed correctly to
> ld.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNifnEzeRhT8JRySpAQHiAwP/dD6WO8+iVpdKXvki3u2ExT7tGuitOuc0
kH//Wj2ssfyUFAsz0FnM7y6r0+Lcxqf3cFGqtm0LgMGldKm72HPgdR5gXKVmk4df
VAn1GHyNgsMkR+sssNfdWIQH2ma4++MaqLnE1kHEO5yq/kljEcmSDs6XjTKYhnTU
YLH85k9/9iY=
=UvQw
-----END PGP SIGNATURE-----
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0zUKOK-00062Y-00>
