Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 1996 10:26:06 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        mac@nibsc.ac.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Runs on SCO but not FreeBSD 2.1R
Message-ID:  <199604030056.KAA16846@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199604021748.SAA29035@chalsig.nibsc.ac.uk> from "mac@nibsc.ac.uk" at Apr 2, 96 06:48:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
mac@nibsc.ac.uk stands accused of saying:
> 
> I have compiled my own kernel and am booting from it.  It contains only those
> bits of GENERIC that I actually have in my PC, plus PS/2 mouse and the
> COMPAT_IBCS2 option (in quotes) which appears to be needed for the 'ibcs2'
> program to work. (Also npx _is_ still there and GPL_MATH_EMULATE, although I
> have a 486DX)

... you can ditch the GPL_MATH_EMULATE, it's unnecessary and just bloats your
kernel.

> However, when I try to run these executables, I get 
> 
> % ./muicairs
> ./muicairs: Exec format error. Wrong Architecture.
> 
> which puzzles me as 'file' says:-
> 
> % file ./muicairs
> ./muicairs: Microsoft a.out separate pure segmented fixed-stack word-swapped
> not-stripped 286 small model executable Large Text Large Data not stripped

That's right; there is no support for 286 executables, and likely never 
will be.

> What worries me more is that I can't even run a 'normal' SCO
> executable such as 'ls'.  Havong transfered that over to my FreeBSD
> box I get:-
>
> % ./ls
> Abort trap

Last time I went through this I think it was decided that this is what 
happens when you try to run a shared executable without the libraries around.

> Basically HELP!  Why can't I run SCIO binaries, and what on earth is the
> "Microsoft a.out ...." format?

It's basically a DOS executable, produced by MSC 4.0 (or similar) for Xenix.
The segmentation model is totally incompatible with the way that FreeBSD
works, and unless there was a killer application (and AFAIK there never
was a killer application for Xenix 8) that required it, I can't imagine
anyone wasting their time and sanity trying to shoehorn it in...

>                                Mac

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604030056.KAA16846>