*BSD News Article 54358


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.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.windows.x.motif,comp.unix.bsd.netbsd.misc,comp.windows.x.i386unix
Subject: Re: Motif for NetBSD / i386
Followup-To: comp.windows.x.motif,comp.unix.bsd.netbsd.misc,comp.windows.x.i386unix
Date: 5 Nov 1995 12:11:17 GMT
Organization: Freie Universitaet Berlin
Lines: 36
Message-ID: <47i9l5$33a@fu-berlin.de>
References: <5x2AiP8M7YB@tethys.ping.de> <1995Nov2.104520.19346@wavehh.hanse.de> <1995Nov3.171610.29660@ccc.amdahl.com> <1995Nov4.131002.11911@wavehh.hanse.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]
Xref: euryale.cc.adfa.oz.au comp.windows.x.motif:38872 comp.unix.bsd.netbsd.misc:1288 comp.windows.x.i386unix:18327

Martin Cracauer (cracauer@wavehh.hanse.de) wrote:
: azcb0@ccc.amdahl.com (Alistair G. Crooks) writes:

: Just one question: Can you use a FreeBSD library and link NetBSD
: object files to it? I can't check it until monday, but my impression
: was that ar(1) is quite different on NetBSD and FreeBSD.

it works - 1 tried it with FreeBSD 2.0.5 and NetBSD 1.0 - the only thing you
have to do is an "ar -xv" of the FreeBSD library (using an FreeBSD ar) and
then rebuild the lib using the NetBSD ar - thus you only need an FreeBSD ar

: And shared libraries are much less likely to work with the other's
: object files.

they don't work

: It they don't, you have to have a whole FreeBSD developement
: environment around on your NetBSD box to produce FreeBSD object files
: and link them to FreeBSD libs. The result can run under the emulator,
: which shouldn't have any performance penalities. Additionally, maybe
: you have to make minor modifications to Motif include files.

: OK, I'll have a look at it. Using FreeBSD static libs should work
: or be easy to make work. Monday...

please also look at my article "COMPAT_FreeBSD" in this group

t
 _______________________________________________________||_____________________
                                                  __||
 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____