From owner-freebsd-hackers Fri Oct 16 19:43:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA15856 for freebsd-hackers-outgoing; Fri, 16 Oct 1998 19:43:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA15844 for ; Fri, 16 Oct 1998 19:43:11 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.9.1/8.9.1) with ESMTP id TAA16599; Fri, 16 Oct 1998 19:42:48 -0700 (PDT) (envelope-from jdp) Message-Id: <199810170242.TAA16599@austin.polstra.com> To: n@nectar.com Subject: Re: ld and -soname In-Reply-To: References: <199810162323.HAA23345@spinner.netplex.com.au> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Fri, 16 Oct 1998 19:42:48 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Jacques Vidrine wrote: > 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? There's a huge comment in src/contrib/gcc/gcc.c that describes it all pretty well. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message