*BSD News Article 54509


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!fu-berlin.de!sirius.physik.fu-berlin.DE!not-for-mail
From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: COMPAT_FreeBSD
Date: 5 Nov 1995 12:19:43 GMT
Organization: Freie Universitaet Berlin
Lines: 35
Message-ID: <47ia4v$33a@fu-berlin.de>
NNTP-Posting-Host: sirius.physik.fu-berlin.de (130.133.3.140)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]

hello

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____