Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!uokmax!servalan!ben From: ben@servalan.uucp (Ben Mesander) Newsgroups: comp.sys.amiga Subject: Re: ANSI C compiler? Summary: GCC Keywords: 100% ANSI compilers Message-ID: <1991Jan6.174902.27526@servalan.uucp> Date: 6 Jan 91 17:49:02 GMT References: <2073@incstar.uucp> <1991Jan5.232908.18246@bilver.uucp> Organization: Ministry of Silly Walks Lines: 20 >In article <2073@incstar.uucp> lhotka@incstar.uucp (Glamdring) writes: >>I am in need of an ANSI standard C compiler for my Amiga. Are both Lattice and >>Aztec currently ANSI standard? If not, which one is if either? Thanks much! If you need ANSI compliance *now*, and you have a bit of memory, say >2 meg, you could use one of the GNU C ports to the amiga. This is a case of "compiler in kit form", still. You need to track down other software to use with it, like a linker. I'm looking forward to SAS/C compliance to the ANSI standard. I've recently changed my development procedure. I use SAS/C to debug my code, because CPR is such an *excellent* debugger, but then I use GCC for the production code. The optimizer for GCC produces code that works! In one case, GNU Chess, I was able to produce a smaller executable with GCC than with SAS/C, even though GCC was expanding simple functions inline instead of generating calls to them. To be fair, the executable from SAS/C was done with the optimizer off, but it generated an executable that didn't do anything if I turned it on... For a chess program, speed is important. ben@epmooch.UUCP