[gnu.gcc] gcc under Xenix 386

romkey@asylum.UUCP (John Romkey) (10/05/88)

I'm trying to bring up gcc 1.28 under Xenix 386 2.3. After some
struggling with the Xenix C compiler (2 core dumps and one expression
simplification later), it compiles code but produces output that the
Xenix assembler doesn't grok at all, it being basically the Microsoft
MacroAssembler.

So - has anyone else done this and either written an output file for
MASM (I found masm386.c in distribution but it doesn't even compile)
or have some other solution to this problem?

For anyone who might be wondering, the way to fix Xenix compiler core
dumps while compiling gcc under Xenix is to compile gcc cpp and then
use it to preprocess the files the compiler's dumping core on. Just
installing it as /lib/cpp isn't good enough; you'll actually need to
run it by hand (or in the makefile or whatever). If you get any
Infinite Spill errors, find the expression that's making the compiler
barf and simplify it. The one problem I had was with lots of nested ? :
constructs.

Other than these problems, bringing up gcc under Xenix has been
relatively straightforward.
-- 
			- john romkey
UUCP: romkey@asylum.uucp		ARPA: romkey@xx.lcs.mit.edu
 ...!ames!acornrc!asylum!romkey		Telephone: (415) 594-9268