*BSD News Article 60646


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in2.uu.net!news.u.washington.edu!root
From: "Zachary N. Fine" <czyz@u.washington.edu>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: NetBSD 1.1 Linux binary compatibility...
Date: 26 Jan 1996 10:34:11 GMT
Organization: University of Washington
Lines: 22
Message-ID: <4eaan3$co2@nntp5.u.washington.edu>
NNTP-Posting-Host: cs120-3.u.washington.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.12 (X11; I; BSD/386 uname failed)
X-URL: news:comp.unix.bsd.netbsd.misc

I compiled my kernel with the option:

options         COMPAT_LINUX    # binary compatibility with Linux

uncommented, but have yet to successfully run a Linux binary.  A class I'm
taking distributes the assignments as header files and objects compiled under
Linux, which I'm then supposed to use to test my source.  I'm having trouble
linking and also unable to run the provided sample executable file, receiving
the following error:

/a.out: Exec format error. Wrong Architecture.

Any ideas?  Is there a faq or a chapter in one for Linux binary compatibility
(the BSD FAQ I've got is circa 12 Sep 1995, perhaps there's a chapter in a
newer FAQ)?


Thanks for any and all help.

-Zach Fine
czyz@u.washington.edu