From owner-freebsd-current Sat Jun 6 10:29:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25940 for freebsd-current-outgoing; Sat, 6 Jun 1998 10:29:52 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25931 for ; Sat, 6 Jun 1998 10:29:48 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.8/8.8.5) with ESMTP id SAA05730; Sat, 6 Jun 1998 18:31:15 +0100 (BST) Date: Sat, 6 Jun 1998 18:31:15 +0100 (BST) From: Doug Rabson To: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= cc: current@FreeBSD.ORG Subject: Re: lorder problem: aout vs. elf In-Reply-To: <19980605094628.A1232@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 5 Jun 1998, [koi8-r] Андрей Чернов wrote: > lorder.sh have hardcoded /usr/bin in PATH so can't find 'nm' > > I see no easy way to determine aout / elf building system from shell > script to find proper path for 'nm' On top of that, lorder relies on the undocumented a.out nm habit of prepending 'filename:' to the list of symbols for each file. I have a fix for this on my work machine. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message