🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1709

Re: vax c ---> mips c

#1709
From: axt654
Date: Wed, 11 Jul 1990 17:13
22 lines
1374 bytes
In article <DAVIS.90Jun30113823@pacific.pacific.mps.ohio-state.edu>, davis@pacific.pacific.mps.ohio-state.edu ("John E. Davis") writes:
> Hi,
> 
>      I am trying to compile some vax c programs to run on a dec-station (3100)
> using the mips c compiler.  However, I am having problems.  It seems that mips
> c does not have the 'system' function or the 'getenv' function both of which
> are in the stdlib.h include file.  Does mips c have replacements for these?
> Also any hints on making the switch would be appreciated.
> 
> Thanks,
> --
> --John
> 
>   bitnet: davis@ohstpy
> internet: davis@pacific.mps.ohio-state.edu

Our version (2.1) of Ultrix does have both of the above, I use them in some
of my code.

Try removing the line #include <stdlib.h>, cc on a DS3100 is not ansi.
Alternatively get Gnu cc (gcc). It runs fine on a DS3100 and is much closer to
being Ansi
Technical Details
Message-ID: <2360.269b5e23@csc.anu.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csc!axt654
References: <DAVIS.90Jun30113823@pacific.pacific.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csc!axt654
From: axt654@csc.anu.oz
Newsgroups: comp.sys.dec
Subject: Re: vax c ---> mips c
Message-ID: <2360.269b5e23@csc.anu.oz>
Date: 11 Jul 90 17:13:06 GMT
References: <DAVIS.90Jun30113823@pacific.pacific.mps.ohio-state.edu>
Followup-To: comp.sys.dec
Distribution: comp
Organization: Computer Services, Australian National University
Lines: 22