Subject: COMPAT_FreeBSD and shared libs
To: None <tech-kern@NetBSD.ORG>
From: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
List: tech-kern
Date: 11/06/1995 21:53:06
hello

this is something i asked in the news but didn't get an answer for:

can someone please tell me how the COMPAT_FreeBSD option in NetBSD works -
like the Linux option ? - that means with the shared libs in an /emu dir or
in another way ? - is it using the NetBSD ld.so for dynamically linked
binaries or is it using an FreeBSD ld.so ? - i ask because i think it should
be possible to make it work with the NetBSD ld.so (if it doesn't do it know)
and to make it less hard caring of the shlib major and minor numbers - that
means that you can run dynamically linked FreeBSD executables using the
NetBSD shared libs - is this possible ?

another thing - is it possible to write an shared-lib converter to convert
FreeBSD shared libs into NetBSD ones (i think it should work becuause the
compiler generated code seems to be the same for both systems - you may "ar
-xv" an FreeBSD static lib and rebuild it using an NetBSD ar and then you
may use it for NetBSD) - this might fill some software-gaps for NetBSD
(Motif etc.)
these are just some ideas - can someone who knows more about there topics
tell me if it may work or not - thanks in advance - t

p.s.: the man-page for compat_freebsd seems to be missing in NetBSD-current
(1.1_ALPHA)

p.s.: the second one - would it be possible to use mixed shared libs - some
from Free- and some from NetBSD using an halfway intelligent ld.so ?

 _______________________________________________________||_____________________
                                                  __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____