[rescue] acc (ANSI C compiler) for SunOS 4.1.4; NeWS code (was Re: emacs for sunos 4.1.4)
merlyn at geeks.org
Tue May 29 09:16:43 CDT 2018
On Tue, May 29, 2018 at 08:17:57AM -0500, Eric Christopherson wrote:
> I'm looking for acc (the ANSI C compiler) for SunOS 4.1.4. Is that the one
> included in Sun Workshop?
Yes, although I should clarify at that time it was called SPARCworks,
and was renamed to the Sun Workshop Compilers later on.
acc and gcc were pretty equivilent, I wouldn't worry too much about
about compatibility (either compiling or run time linking) for either of them.
It is the C++ stuff that you do have to look out for. The library
name mangling is not compatible (in general among any) between C++
compilers made by different vendors. But from what I remember, any of
the Sun stuff like NeWS and others weren't doing much C++. The primary
C++ app of the era on that platform was groff and just about nothing else.
> The reason I'm looking for it (apart from mere completeness) is that I'd
> like to break into playing with NeWS on that platform, and the example code
> I've found on the SunOS system itself seems to require that compiler*. I
> have not yet bootstrapped gcc, so I don't know for sure if it will fit my
> needs or not. But, as I mentioned, I'd like to have at least cc, gcc, and
> acc for completeness if for no other reason.
Probably to make sure to differentiate between that and the virtually
unusable C compiler that ships with the base OS provided purely to finish
compling and linking the kernel after making changes to it (drivers,
More information about the rescue