Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 11:32:32 +0100
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        freebsd-questions@freefall.FreeBSD.org
Subject:   ELF objects (Linux)
Message-ID:  <199610131032.LAA11401@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
I want to create FreeBSD libs from Linux libs.  Using a.out libs the
following seems to work:

under Linux:
ar xv `ar t linuxlib.a`


then under FreeBSD:

ar qv freebsdlib.a *.o

and I can at least nm the lib. I'm assuming as long as there are no linux 
syscalls in that lib that it would work to link against the resulting lib
under FreeBSD.

Now when the linux lib is an ELF lib it doesn't seem to work. Do I need
to have ELF support under FreeBSD? Don't we have it already?


--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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