From owner-freebsd-current Fri Jun 5 03:51:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24398 for freebsd-current-outgoing; Fri, 5 Jun 1998 03:51:54 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24382; Fri, 5 Jun 1998 03:51:42 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id SAA00749; Fri, 5 Jun 1998 18:51:16 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199806051051.SAA00749@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= cc: Peter Wemm , current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: lorder problem: aout vs. elf (and GNU Configure problem too) In-reply-to: Your message of "Fri, 05 Jun 1998 12:37:36 +0400." <19980605123736.A20838@nagual.pp.ru> Content-Transfer-Encoding: quoted-printable Date: Fri, 05 Jun 1998 18:51:15 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG =3D?koi8-r?B?4c7E0sXKIP7F0s7P1w=3D=3D?=3D wrote: > On Fri, Jun 05, 1998 at 10:43:51AM +0400, =E1=CE=C4=D2=C5=CA =FE=C5=D2=CE= =CF=D7 wrote: > > I expect lots of problems with GNU Configure scripts (for ports), the= y > > never search nm,ar,ranlib in .../aout > > = > > We must provide symlinks from = > > /usr/bin/xxx -> /usr/libexec/{elf or aout}/xxx > > otherwise lots of ports will be broken. > = > /usr/lib/libc.a (now moved to /usr/lib/aout) is also often parsed by GN= U > Configure :-( Huh?? Such as? Almost all the GNU configure scripts test for presense o= f = libc routines by a compile attempt. I've never seen an autoconf script = use ar/nm. I think you are thinking of elm, perl5 etc which use Metaconfig. *that* = uses ar/nm/etc and you have to tell it where the library is and how to ge= t = a list of symbols. > It sounds like almost every GNU Configure port should be changed to > reflect new aout subdirectories to preserve previous state. It is wrong= > move indeed for elf version. It looks like libraries and /usr/bin symli= nks > are only solution. = As I said before, the /usr/bin paths are already there and have been sinc= e = day one: peter@beast[6:50pm]~src/usr.bin/lorder-203> l -i /usr/bin | grep 8468 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 ar* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 as* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 ld* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 nm* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 objformat* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 ranlib* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 size* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 strings* 8468 5 -r-xr-xr-x 9 bin bin 4424 May 30 17:47 strip* Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message