*BSD News Article 37704


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!insosf1.infonet.net!s069.infonet.net!s069.infonet.net!not-for-mail
From: burgess@s069.infonet.net (Dave Burgess)
Newsgroups: comp.os.386bsd.apps
Subject: Re: FreeBSD supports BSDI executables? [was: gnat 1.83 for FreeBSD 1.1.5]
Date: 10 Nov 1994 00:26:19 -0600
Organization: Configuration Management Svcs, Inc.
Lines: 46
Message-ID: <39seeb$djq@s069.infonet.net>
References: <NILS.94Nov2155610@gerfalke.ims.uni-stuttgart.de> <399rmb$jle@cynjut.infonet.net> <Cyt2MG.76s@luva.lb.bawue.de> <39qmk3$so7@fw.novatel.ca>
NNTP-Posting-Host: s069.infonet.net

In article <39qmk3$so7@fw.novatel.ca>,
Herb Peyerl <hpeyerl@sidney.novatel.ca> wrote:
>Michael Giegerich (migieger@luva.lb.bawue.de) wrote:
>: In article <399rmb$jle@cynjut.infonet.net>,
>: Dave Burgess <burgess@cynjut.infonet.net> wrote:
>: [...]
>: >Since both FreeBSD and NetBSD seem to support the BSDI QMAGIC format for
>: >static executables, is there any hope that this is the way that you
>
>: say that FreeBSD-1.1.5.1 executables linked -static not only
>: seem to but actually do work with BSDI-1.1.
>
>: The contrary, alas, isn't true :-(
>
>Huh? Really? Just to clarify, this is not true with NetBSD.  I run BSDI
>executables on my NetBSD/i386 machine and they work fine.  I also run some
>FreeBSD executables but only out of laziness.
>

OK.

We seem to have established that BSDI executables seem to work on NetBSD
and FreeBSD, and that some FreeBSD 1.1.5.1 static executables seem to
work on NetBSD and BSDi.  Good so far.

I grabbed the GNAT software from Germany last night and tried it out.
It comes back with an 'invalid architecture' message whenever I try to
compile anything.  When I try a 'file' on the executables, it comes back
with:

/usr/local/GNU/bin/gnatbind:                                    data

Doesn't look too promising.

So, back to the original question.  What link option is required to make
a FreeBSD executable look like a statically linked BSDI 1.1 executable?
Once we know that, then 90% of our problems should start to disappear.
Of course, the 10% of incompatible libraries is another bridge we'll
burn once we get to it.


-- 
TSgt Dave Burgess           | Dave Burgess
NCOIC, USSTRATCOM/J6844     | *BSD FAQ Maintainer
Offutt AFB, NE              | Burgess@cynjut.infonet.net or ...@s069.infonet...