Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!cbosgd!osu-eddie!osupyr!gae From: gae@osupyr.UUCP (Gerald Edgar) Newsgroups: comp.sys.pyramid Subject: Pascal to C Message-ID: <100@osupyr.UUCP> Date: Fri, 14-Aug-87 09:32:28 EDT Article-I.D.: osupyr.100 Posted: Fri Aug 14 09:32:28 1987 Date-Received: Tue, 18-Aug-87 06:25:53 EDT Reply-To: gae@osupyr.UUCP (Gerald Edgar) Distribution: na Organization: The Ohio State University, Dept. of Math. Lines: 13 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