Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!uokmax!servalan!epmooch!ben From: ben@epmooch.UUCP (Rev. Ben A. Mesander) Newsgroups: comp.sys.amiga.programmer Subject: Re: DICE vs GCC Message-ID: Date: 4 Apr 91 10:48:44 GMT References: <9104021420.AA10848@thunder.LakeheadU.Ca> <1991Apr4.034920.16298@marlin.jcu.edu.au> <1991Apr4.180217.19773@nntp-server.caltech.edu> <1991Apr5.030228.28756@marlin.jcu.edu.au> Lines: 49 >In article <1991Apr5.030228.28756@marlin.jcu.edu.au> cpca@marlin.jcu.edu.au (Colin Adams) writes: >In article <1991Apr4.180217.19773@nntp-server.caltech.edu> tll@nntp-server.caltech.edu (Tal Lewis Lancaster) writes: >> Because I am doing things that just can't be done with SAS or Aztec. > >Why not? Try compiling the GNU regexp code with SAS/C and the -O option. Then try with GCC. SAS/C will introduce subtle bugs. Things like the X window system sources hose up SAS/C, but GCC will compile them fine. Even the pd version of DICE will handle some legal constructs that SAS/C won't. But SAS/C is a pretty good compiler for the Amiga, especially considering the access to the system that it gives you. Also, SAS/C seems to be somewhat weak on several of its floating point formats. Some of the formats seem to give screwey results. It's hard to find out why (see below). >>SAS does have one of the better debuggers I have seen. But its other tools >>are geared more for small projects. For example its make is really stupid >>and forces duplication. > >The SAS debugger is pretty good. I have found the make utility to be >ok, once you set it up it works fine. The SAS/C debugger is great - with one exception - it only knows about one floating point format. It makes it pretty darn hard to debug if you don't use the format that SAS uses. And the other modes have bugs, so if you get a program to work with the default fp mode, and then attempt to compile it and link it so that it uses the shared math libraries instead, what do you do when it doesn't work right? >Still SAS is good enough for me. That's why I bought it... I wish thier customer support was better though. >>Tal Lancaster >>tll@tybalt.caltech.edu > > >-- >Colin Adams >Computer Science Department James Cook University >Internet : cpca@marlin.jcu.edu.au North Queensland >'And on the eight day, God created Manchester' -- | ben@epmooch.UUCP (Ben Mesander) | "Cash is more important than | | ben%servalan.UUCP@uokmax.ecn.uoknor.edu | your mother." - Al Shugart, | | !chinet!uokmax!servalan!epmooch!ben | CEO, Seagate Technologies |