From owner-freebsd-ports Thu Jun 4 23:45:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18819 for freebsd-ports-outgoing; Thu, 4 Jun 1998 23:45:10 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA18683; Thu, 4 Jun 1998 23:44:16 -0700 (PDT) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id KAA28026; Fri, 5 Jun 1998 10:43:52 +0400 (MSD) (envelope-from ache) Message-ID: <19980605104351.A23931@nagual.pp.ru> Date: Fri, 5 Jun 1998 10:43:51 +0400 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Peter Wemm Cc: current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: lorder problem: aout vs. elf (and GNU Configure problem too) Mail-Followup-To: Peter Wemm , current@FreeBSD.ORG, ports@freebsd.org References: <19980605094628.A1232@nagual.pp.ru> <199806050632.OAA29086@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199806050632.OAA29086@spinner.netplex.com.au>; from peter@netplex.com.au on Fri, Jun 05, 1998 at 02:32:49PM +0800 Organization: Biomechanoid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jun 05, 1998 at 02:32:49PM +0800, Peter Wemm wrote: > -nm -go $* | sed " > +nm ${NMARGS} -go $* sed " Your patch not work since there is no 'nm' in /bin:/usr/bin hardcoded in first line of the script. > However, I am very with it and the other places where I've had to do this, > such as install. I was considering a couple tweaks to the wrappers to do > auto detection of formats. Things like size, nm, strip, strings, etc can > look at their files to see what format they are. I expect lots of problems with GNU Configure scripts (for ports), they 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. > This was the nice thing about having the binutils stuff reading a.out, it > didn't matter what sort of file a utility was give, it just worked. (or > didn't, as the case may be with the stale a.out binutils support.) Not reading expected but writing too (f.e. ranlib and ar), so allowing reading not helps much. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message