[comp.unix.xenix.sco] GCC on xenix 2.3?

tony@ajfcal.uucp (Tony Field) (10/21/90)

Is it possible to compile gnu-gcc under xenix 2.3 such that gcc can
generate masm-compatible output?  

I have tried to compile the masm386.c module with no success.  In fact,
none of the functions within masm386.c are called by the rest of the
compiler.

It would be very nice if gcc could be generated so that the existing
xenix libraries could be used.

tony...
 --------------------------------------------------------------------
     tony@ajfcal.uucp
 or: tony@ajfcal.cpsc.ucalgary.ca   (possibly - for interet reply)

ronald@robobar.co.uk (Ronald S H Khoo) (10/26/90)

tony@ajfcal.uucp (Tony Field) writes:

> Is it possible to compile gnu-gcc under xenix 2.3 such that gcc can
> generate masm-compatible output?  

No one I know of has done this successfully yet...

> It would be very nice if gcc could be generated so that the existing
> xenix libraries could be used.

But this I do every day :-)  A patch kit for GCC/GAS/GDB working with
Xenix has been available from steve@robobar.co.uk for quite a while now.
It is our "Production" compiler at RoboBar, as a matter of fact.  It's
available from several archive sites, including some which post ads regularly
to this newsgroup, alternatively you can mail us for more details.  No, there's
no charge for help today :-)

-- 
ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H)

davidsen@sixhub.UUCP (Wm E. Davidsen Jr) (10/29/90)

In article <1990Oct21.091009.4131@ajfcal.uucp> tony@ajfcal.uucp (Tony Field) writes:
| Is it possible to compile gnu-gcc under xenix 2.3 such that gcc can
| generate masm-compatible output?  

  There is a version around which generates the object modules which run
with SCO libraries. It uses hacked gcc and hacked gas. I got it on a
"custom" format disk.

  After a close look I am only so-so impressed with it. It's useful for
compiling things which use the non-standard features of gcc, it's useful
with -traditional for compiling things which come off the net and which
the SCO compiler will not handle (rrc will, though). It does not seem to
generate code which is uniformly better than the SCO code with the
optimizer options picked with care.

  You can also debug the optimized version, although I have not found
this to be a blessing yet ;-)
-- 
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me