From owner-freebsd-questions Wed Apr 19 13:30:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 5A94937B657 for ; Wed, 19 Apr 2000 13:30:47 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12hzSa-000Puu-00; Wed, 19 Apr 2000 19:44:24 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12hzSa-000GKm-00; Wed, 19 Apr 2000 19:44:24 +0100 Date: Wed, 19 Apr 2000 19:44:24 +0100 From: Ben Smithurst To: Kresimir Kumericki Cc: freebsd-questions@FreeBSD.org Subject: Re: Why do I have lib*_p.a? Message-ID: <20000419194424.G54921@strontium.scientia.demon.co.uk> References: <20000419193513.A73459@phy.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000419193513.A73459@phy.hr> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kresimir Kumericki wrote: > I was under impression that lib*_p.a libraries are "profiled" > libraries that should not be built if NOPROFILE=true is > specified in /etc/make.conf. I have uncommented this line but > after make world I still have lots of _p.a libraries in > /usr/lib. What have I got wrong? Are they not just old copies? ls -l /usr/lib and see if the dates match up, or whether the _p is much older, from a previous build/install. > And while I'm at it, what about .a and .so libs. Again, I > seem to remember that .a are aout and .so elf libs. ben@magnesium:~$ file /usr/lib/libc.{a,so,so.3} /usr/lib/libc.a: current ar archive /usr/lib/libc.so: symbolic link to libc.so.3 /usr/lib/libc.so.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped nope. All files are needed, aout libs should be in /usr/lib/aout. > Does any of FreeBSD programs still use aout libs? I think the FreeBSD native Netscape binaries are *still* a.out, despite the fact we're now in the second major release cycle (3.x and 4.x) which have used ELF binaries as default. You might have some old stuff in /usr/local which is a.out, so I wouldn't get rid of a.out stuff yet. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message