Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jato!jdickson From: jdickson@jato.jpl.nasa.gov (Jeff Dickson) Newsgroups: comp.sys.amiga.programmer Subject: Re: Amiga compiler recommendations Message-ID: <1991Jun26.155319.14394@jato.jpl.nasa.gov> Date: 26 Jun 91 15:53:19 GMT References: <14285@pasteur.Berkeley.EDU> <1991Jun26.050537.23412@msuinfo.cl.msu.edu> Reply-To: jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 35 In article <1991Jun26.050537.23412@msuinfo.cl.msu.edu> jap@convex.cl.msu.edu (Joe Porkka) writes: >kemnitz@eden.Berkeley.EDU (Greg Kemnitz) writes: > >>I just got my A3000 and I intend to port Postgres to it (200,000 lines of >>pretty ancient and often bad C code that does work with K & R compilers on Unix >>boxes). What compilers on the Amiga have the following: > >>1. A good debugger >>2. Efficient code, but no buggy optimizers (if it has one, Postgres will find >> it :-( >>3. Other Unix-style tools such as grep, awk, sed, make, lex/yacc, etc >>4. Decent manuals. > >SAS/C is the one and only to satisfy (most of) the above. >It doesn't have awk, sed, lex/yacc, but these are available frlom amiga FTP >sites. It have a make (lmk) that isn't quite compatible with >unix make, but its not bad. > >It complains about lots of things a K&R compiler wouldn't, but you >can selectivly turn off warnings. I happen to like K & R 'C', but the newer compilers and updates to them insist on you adhering to ANSI. I have MANX 'C'. It supposedly has a flag (-k) to make it behave like a good ol K & R, but it doesn't. I know that the MANX is around revision 5.0d now, I still have 5.0. I gave up on it earlier and reverted back to my trusty ol 3.4/3.6, but the problem is that the library doesn't know anything about the newer calls! Maybe MANX has fixed this by now, but I'm tired of being strapped to the compiler mana- facture for updates. I imagine I could make my own stubs, but I'm unsure if there is more to it than simply saving registers, translating stack based args to registers, and cleaning up. While i'm at it, is there a compiler that links with amiga.lib or somehow is able to figure out the correct _LVO offsets? thanks - jeff