Trying to compile with XENIX libs under 386/ix

Conor P. Cahill cpcahil at virtech.uucp
Sun Jan 14 07:59:00 AEST 1990


In article <6161 at uhccux.uhcc.hawaii.edu>, bt455s10 at uhccux.uhcc.hawaii.edu (Carl "Art" McIntosh) writes:
> One possibility is to use the Xenix filesystem support of 386/ix
> and install the Xenix development system there.  Then you can compile
> with the Xenix cc and link in the Xenix libraries.  I know that 386/ix
> can run Xenix binaries, however it may not have support for the .o
> file format.

You don't need the xenix file system support.  You can install the 
xenix development system within a given directory hierarchy and then
chroot to the root of that file system and develope away.  The only 
problem is that if you copy the entire xenix distribution into that 
directory, you must replace the 8086 binaries with the 386/ix versions of the
same binaries because Xenix support in 386/ix (SysV 3.2 in general) does
not include support for running 8086 binaries.

Someone else suggested another solution which was to include the xenix compiler 
and associated support utilities in thier proper place in the 386/ix file 
system (renaming the utilities that collide - I think cc was one of the
only ones that did since the library naming convention is different).
I did not try this, but the guy who told me about it had been using it
for a while.

The problem with using xenix development tools is that they generate
xenix binaries which run fine.  However, if you get a core dump Xenix
development tools do not understand 386/ix's core file and 386/ix development
tools do not understand xenix binaries so you are left out to dry as
far as debugging tools are considered.

Good luck.
-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+



More information about the Comp.unix.i386 mailing list