andrew@ambra.dk (Leif Andrew Rump) (04/30/90)
I'm p***** off with the C-compiler that Sun deliver with SunOS 4.0.3! It is not a bit Ansi compatible and the include-files (well that's actually Sun's problem not the compilers) is very well unplanned! (They have to be included in a specific order and must only be included once or you get double defines!) Is there any better C-compiler (or real C++, not preprocessor) for the Sparc1 and how is the compiler in 4.1 - the same? Leif Andrew Rump, AmbraSoft A/S, Stroedamvej 50, DK-2100 Copenhagen OE, Denmark UUCP: andrew@ambra.dk (Please note name change), phone: +45 39 27 11 77 Currently at SAS (Scandinavian Airline Systems), phone: +45 32 32 22 79
dan@kfw.com (Dan Mick) (05/03/90)
In article <7298@brazos.Rice.edu> andrew@ambra.dk (Leif Andrew Rump) writes: >X-Sun-Spots-Digest: Volume 9, Issue 149, message 1 > >I'm p***** off with the C-compiler that Sun deliver with SunOS 4.0.3! It >is not a bit Ansi compatible and the include-files (well that's actually >Sun's problem not the compilers) is very well unplanned! (They have to be >included in a specific order and must only be included once or you get >double defines!) Welcome to UNIX C, Leif... >Is there any better C-compiler (or real C++, not preprocessor) for the >Sparc1 and how is the compiler in 4.1 - the same? GCC is ported to Sun-4's. MetaWare sell High-C for Suns. I believe GreenHills may sell a SPARC C compiler. Certainly the first two are as ANSI-compliant as almost anything around, and MetaWare is purported to generate better code, though I can't speak from personal experience yet. I do know MetaWare have a mostly-automatic inliner that gains some speed.