Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.i386 Subject: Re: Trying to compile with XENIX libs under 386/ix Keywords: XENIX 386/ix library Message-ID: <1990Jan13.205900.6486@virtech.uucp> Date: 13 Jan 90 20:59:00 GMT References: <1990Jan13.102016.21962@halexii.uucp> <6161@uhccux.uhcc.hawaii.edu> Organization: Virtual Technologies Inc. Lines: 34 In article <6161@uhccux.uhcc.hawaii.edu>, bt455s10@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 | +-----------------------------------------------------------------------+