adnan@UUNET.UU.NET (02/23/89)
This is not a bug report but a plea for help. Do you know if anyone
has been able to get Gcc running under Xenix? I am trying to install
Gcc v1.32 on an Intel 386 box running Xenix 2.3.
In order to get the code to compile, I had to turn off the debug flag
when compiling explow.c (otherwise I got a segment violation), I had
to muck with the if statement at line 1240 of reload.c, and I had to
expand the huge macro FIX*ADDRESS* by hand in the file reload1.c.
When I went to build using the stage1 gcc (I first returned reload and
reload1 to their original state), the compiler generated 2000 plus
errors. For example:
stage1/gcc -g -O -DM_I386 -Bstage1/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
gcc.c: In function fatal_error:
gcc.c:1111: warning: argument passing between incompatible pointer types
gcc.c: In function main:
gcc.c:1130: warning: argument passing between incompatible pointer types
gcc.c:1130: warning: comparison of distinct pointer types lacks a cast
gcc.c:1132: warning: argument passing between incompatible pointer types
gcc.c:1132: warning: comparison of distinct pointer types lacks a cast
gcc.c:1134: warning: argument passing between incompatible pointer types
gcc.c:1134: warning: comparison of distinct pointer types lacks a cast
End of file encountered on input file
/tmp/cca03939.s(3174): warning A4085: End of file, no END directive
Open segments: _DATA
.file "gcc.c"
/tmp/cca03939.s(1): error A2105: Expected: instruction or directive
gcc_compiled.:
/tmp/cca03939.s(2): error A2105: Expected: instruction or directive
.text
/tmp/cca03939.s(3): error A2105: Expected: instruction or directive
.def _iobuf; .scl 10; .type 010; .size 16; .endef
/tmp/cca03939.s(4): error A2105: Expected: instruction or directive
.def _cnt; .val 0; .scl 8; .type 04; .endef
Do you have any idea what has happened? Do you know if anyone has got
Gcc running under Xenix?
Thanks,
Adnan Yaqub
(216) 349-1860
...uunet!abvax!stargate!adnan