From owner-freebsd-hackers Fri Oct 16 17:28:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA24644 for freebsd-hackers-outgoing; Fri, 16 Oct 1998 17:28:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spawn.nectar.com (spawn.nectar.com [204.27.67.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA24535 for ; Fri, 16 Oct 1998 17:28:01 -0700 (PDT) (envelope-from nectar@spawn.nectar.com) Received: from localhost.nectar.com ([127.0.0.1] helo=spawn.nectar.com) by spawn.nectar.com with esmtp (Exim 1.92 #1) id 0zUKCB-00060e-00; Fri, 16 Oct 1998 19:26:11 -0500 X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://www.nectar.com/nectar-pgp262.txt From: Jacques Vidrine In-reply-to: <199810162323.HAA23345@spinner.netplex.com.au> References: <199810162323.HAA23345@spinner.netplex.com.au> Subject: Re: ld and -soname To: Peter Wemm cc: hackers@FreeBSD.ORG Date: Fri, 16 Oct 1998 19:26:11 -0500 Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Sheesh, I can't make heads or tails of that-- *link: %{p:%e`-p' not supported; use `-pg' and gprof(1)} %{maout: %{shared:-Bshareab le} %{!shared:%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{pg:-Bstatic} %{Z}} %{assert*} %{R*}} %{!maout: -m elf_i386 %{Wl,*:%*} %{assert*} %{R*} %{rpath*} %{defsym*} %{shared:-Bshareable % {h*} %{soname*}} %{symbolic:-Bsymbolic} %{!shared: %{!static: %{rdynamic: -export-dynamic} %{!dynamic-linker: -dynamic-linker /usr/libexec/ ld-elf.so.1}} %{static:-Bstatic}}} Does anyone have pointers to documentation of this stuff? Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org On 17 October 1998 at 7:23, Peter Wemm 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 iQCVAwUBNifkIzeRhT8JRySpAQFfywP/X1uitSxuQRx9T85YkMqlExU0YnI+P+yc CaeXrceYY2cOnAVD/Ynzx2hCS2m5isxSPaFU3nbA+xSwwyaVdI8sn4tNBGNUTW6e uOotLg2KPYyEowYxb3VsyvBXtHUliKuvlGWeu6ESCkrbVTsVpWVEZjLay9/fhIiW kmnoAGJ04b8= =X0N+ -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message