Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!unmvax!pprg.unm.edu!krukar From: krukar@pprg.unm.edu (Richard Krukar [CHTM]) Newsgroups: comp.sys.m68k Subject: Re: Oasys (Green Hills) C compiler Keywords: Oasys, Green Hills Message-ID: <28463@pprg.unm.edu> Date: 14 Aug 90 00:24:26 GMT References: <6@mplex.UUCP> Reply-To: krukar@pprg.unm.edu (Richard Krukar [CHTM]) Followup-To: comp.sys.m68K Distribution: na Organization: U. of New Mexico, Albuquerque Lines: 24 > I'd appreciate hearing anyone's impressions and experiences with the 68K C and > C++ cross compilers from Oasys (aka Green Hills). I'm especially interested > in hearing from people running it under any flavour of 80386 Unix. > > - Are you happy with it? > - Is it suitable for embedded controller applications? > -- > Fred Fierling fff@eng.mplex.bc.ca Tel: 604 875-1461 Fax: 604 875-9029 > Microplex Systems Ltd 265 East 1st Avenue Vancouver, BC V5T 1A7, Canada Well, I bought the Greenhills C compiler for my 68k box and found an interesting bug. It created code that would core dump on any switch statement that had 3 cases ( or was it four? ). The solution was to use the -O flag. However, I did not trust the compiler for non-optimized, let alone optimized, work. Anyway, I have not bothered to reinstall it when I switched disks. Who knows, maybe their cross compilers are better. I don't know what platform you are compiling for, but the gnu compiler generates some of the tightest 68k code I have seen and may have a cross compilation capability. It is also free. Anyway, good luck. Richard Krukar (krukar@pprg.unm.edu)