Date: Tue, 9 May 2000 22:37:23 -0700 (PDT) From: R Joseph Wright <rjoseph@mammalia.org> To: Greg Lehey <grog@lemis.com> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: format of libraries Message-ID: <Pine.BSF.4.21.0005092231070.9945-100000@manatee.mammalia.org> In-Reply-To: <20000510135017.K86264@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 May 2000, Greg Lehey wrote: > On Tuesday, 9 May 2000 at 17:46:49 -0700, R Joseph Wright wrote: > > I installed a linux program on my machine which includes a library > > libxxx.a. I was wondering if libraries need to be "brandelf"-ed as well > > as executables. > > > > But when I did "brandelf libxxx.a" it said that it was not an ELF > > format. So I checked other libraries with the suffix .a. They > > also were not ELF. But all the .so libraries said they were ELF. > > > > What format are the libraries with .a suffix? > > ar(1) format. It's basically an archive of object files. > > > Does anything need to be done with them if they are linux binaries? > > Not that I know of, except that you probably won't be able to link > them with FreeBSD, because they assume a different environment. There > are some exceptions, though, notably functions that don't make any > calls to other functions. Does this mean that a linux program needing shared libraries cannot read a FreeBSD version and must have the linux version installed under /compat/linux? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005092231070.9945-100000>