Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!bj From: bj@cbmvax.commodore.com (Brian Jackson) Newsgroups: comp.sys.amiga.programmer Subject: Re: Amiga compiler recommendations Message-ID: <22712@cbmvax.commodore.com> Date: 26 Jun 91 20:22:37 GMT References: <14285@pasteur.Berkeley.EDU> <1991Jun26.050537.23412@msuinfo.cl.msu.edu> <1991Jun26.155319.14394@jato.jpl.nasa.gov> Reply-To: bj@cbmvax.commodore.com (Brian Jackson) Organization: Commodore, West Chester, PA Lines: 50 In article <1991Jun26.155319.14394@jato.jpl.nasa.gov> jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) writes: >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. I disagree, actually. >>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 The latest Manx 5.0d package comes with 2.0 support (libs, includes, etc.) and works just fine. I use it all the time for a relatively wide variety of chores. Brian ----------------------------------------------------------------------- | Brian Jackson Software Engineer, Commodore-Amiga Inc. GEnie: B.J. | | bj@cbmvax.cbm.commodore.com or ...{uunet|rutgers}!cbmvax!bj | | "Macho's cool but please don't eat the urinal cakes." | -----------------------------------------------------------------------