Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!imf.unit.no!hanche From: hanche@imf.unit.no (Harald Hanche-Olsen) Newsgroups: comp.sys.apollo Subject: troff to PS Message-ID: <9012061413.AA10010@hufsa> Date: 6 Dec 90 14:14:42 GMT References: <9010261101.AA04966@duc220.uni-duisburg.de> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 25 This letter I got from you is getting old: Date: Fri, 26 Oct 90 12:01:19 +0100 From: hj412fr@duc220.uni-duisburg.de (Martin Anantharaman) I finally found some time to try compiling troff. You said I have installed groff with the Apollo C++ (c++.v.2.0.0) and only very minor modifications were necessary: Some missing function prototypes if you are in the BSD4.3 environment, customization of flags and printing commands etc. However, it looks like ccxx insists that any file ending in .c is a plain C file, not a C++ file, and so it invokes the ordinary C compiler. Needless to say, this breaks everything. How did you get around this problem? I suppose you could rename every *.c file to *.cxx and edit all the Makefiles, but I don't relish the thought. If you found a more elegant solution, I would like to hear it. Thanks for your trouble, - Harald Hanche-Olsen Division of Mathematical Sciences The Norwegian Institute of Technology N-7034 Trondheim, NORWAY