[comp.sys.pyramid] Pascal to C

gae@osupyr.UUCP (Gerald Edgar) (08/14/87)

After a bit of puzzlement, I have managed to get the C version of the
Pascal-to-C translator to work under OSx.  The trick is to use the
-q flag of cc.  Either the code (produced from a working Pascal program
by the translator) makes non-portable assumptions about how structs are
packed; or else the Pyramid C compiler fouls up when it passes non-packed
structs as arguments or function values.
-- 
  Gerald A. Edgar                               TS1871@OHSTVMA.bitnet
  Department of Mathematics                     edgar@osupyr.UUCP
  The Ohio State University  ...{akgua,gatech,ihnp4,ulysses}!cbosgd!osupyr!gae
  Columbus, OH 43210                            70715,1324  CompuServe