Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 1998 18:51:15 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
Cc:        Peter Wemm <peter@netplex.com.au>, current@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: lorder problem: aout vs. elf (and GNU Configure problem too) 
Message-ID:  <199806051051.SAA00749@spinner.netplex.com.au>
In-Reply-To: Your message of "Fri, 05 Jun 1998 12:37:36 %2B0400." <19980605123736.A20838@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help

=?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= wrote:
> On Fri, Jun 05, 1998 at 10:43:51AM +0400, Андрей Чернов wrote:
> > 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.
> 
> /usr/lib/libc.a (now moved to /usr/lib/aout) is also often parsed by GNU
> Configure :-(

Huh??  Such as?  Almost all the GNU configure scripts test for presense of 
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 get 
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 symlinks
> are only solution. 

As I said before, the /usr/bin paths are already there and have been since 
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 <peter@netplex.com.au>   Netplex Consulting



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806051051.SAA00749>