|Sun compilers: acc vs. gcc? email@example.com (1994-10-01)|
|Re: Sun compilers: acc vs. gcc? firstname.lastname@example.org (1994-10-03)|
|Re: Sun compilers: acc vs. gcc? email@example.com (1994-10-05)|
|Re: Sun compilers: acc vs. gcc? J.C.Highfield@loughborough.ac.uk (1994-10-06)|
|Re: Sun compilers: acc vs. gcc? khb@Eng.Sun.COM (1994-10-07)|
|Re: Sun compilers: acc vs. gcc? firstname.lastname@example.org (1994-10-20)|
|From:||email@example.com (Harold Finkbeiner)|
|Keywords:||C, sparc, GCC|
|Date:||Mon, 3 Oct 1994 21:01:53 GMT|
>Can anyone offer a comparison of Gcc vs. Acc, sun's ansi compiler? I'd
>like to know if there is any reason to buy Acc, if I'm happy with Gcc.
I was using the acc compiler (SC1.0.1) and switched over to gcc for a
couple of reasons. The gcc compiler has better error messages and with
-Wall it covers a broader range of circumstances I like to be warned
about. With gcc you have better control over what the compiler does.
If you have to debug a program :-), I prefer gdb over dbx (was well as
xxgdb over dbxtool).
I found that acc was giving me messages because the header files as
defined by Sun do not follow the ANSI standard (memcpy and memcmp
should use void * but Sun defines them as char *).
I would assume that the acc compiler would be better at code
optimization (especially with floating point operations) but I have
never tried it out.
You might look into SPARCworks. With the new version it sounds like
you can debug/edit code on the fly similiar to an interpreted version
of C. I believe though that you require at least Solaris 2 for the new
version which has this feature.
Have a nice day,
Harold Finkbeiner Email: firstname.lastname@example.org
Stanford University Phone: (415) 725-3353
Return to the
Search the comp.compilers archives again.