🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.groff.bug
Article #94

Re: Help w/ compiling on SunOS 4.1.2

#94
From: Jeff Jennings
Date: Wed, 06 Jan 1993 18:14
37 lines
2108 bytes
Sjaak Schilperoort (sjaak@athena.research.ptt.nl) wrote:
> brian@natinst.com (Brian H. Powell) writes:

> >     As I'm sure many of you know, groff 1.06 doesn't compile easily on a Sun
> >running SunOS 4.1.2 with gcc/g++ 2.3.3 (and several earlier versions of
> >g++ 2.x).  So, I'm looking for advice on how to accomplish this task.

I just compiled groff 1.06 with gcc/g++-2.3.3 on SunOS 4.1.3 without a single
problem or warning.  All I did was type "configure" and then "make".

> Same here with libg++-2.3 under SunOS 4.1.3 with g++ 2.3.3. The following
> simple program, stored as x.cc in libg++/src, does not compile:

> #include <std.h>
> main(){}

> because g++ chokes on the include-files. 

> Invocation is: 
> gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c x.cc

> Error message:
> In file included from ./../g++-include/sys/types.h:15, from /usr/include/unistd.h:72, from ./../g++-include/unistd.h:25, from ./std.h:28, from x.cc:1:
> /usr/include/sys/types.h:24: conflicting types for `wchar_t'
> ./../g++-include/stddef.h:11: previous declaration of `wchar_t'

I just tried this in the libg++/src directory, with your program stored as
x.cc, and got no errors or warnings.  It compiled just fine.  I can't really
speculate on what your problems might be, are you guys sure you configured
everything correctly, and ran "make fixincludes" when you built gcc?

- jeff

--
Jeff Jennings              | Imagination is more important than knowledge.
Jeff_Jennings@stortek.com  |                     - Albert Einstein
Storage Tek - Iceberg      |
Technical Details
Message-ID: <1993Jan6.181422.13990@stortek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lhotse.stortek.COM!jennings
References: <sjaak.726152999@athena.research.ptt.nl>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.groff.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lhotse.stortek.COM!jennings
From: jennings@lhotse.stortek.COM (Jeff Jennings)
Subject: Re: Help w/ compiling on SunOS 4.1.2
Message-ID: <1993Jan6.181422.13990@stortek.com>
Sender: gnulists@ai.mit.edu
Organization: Storage Tek
References: <sjaak.726152999@athena.research.ptt.nl>
Distribution: gnu
Date: Wed, 6 Jan 1993 18:14:22 GMT
Approved: bug-groff@prep.ai.mit.edu
Lines: 38