Article View: gnu.groff.bug
Article #91Re: Help w/ compiling on SunOS 4.1.2
From: Sjaak Schilperoort
Date: Mon, 04 Jan 1993 13:09
Date: Mon, 04 Jan 1993 13:09
28 lines
1759 bytes
1759 bytes
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.
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'
No problems though under Ultrix, got libg++-2.3 and groff-1.06 running
without any problems. Is SunOS no longer supported or is there some trick?
--
Sjaak Schilperoort J.W.Schilperoort@research.ptt.nl
PTT Research, The Netherlands
Technical Details
Message-ID:
<sjaak.726152999@athena.research.ptt.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!athena.research.ptt.nl!sjaakReferences:
<1i1v9hINN6su@eagle.natinst.com>Show Full Headers
Complete Article Headers
Newsgroups: gnu.groff.bug Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!athena.research.ptt.nl!sjaak From: sjaak@athena.research.ptt.nl (Sjaak Schilperoort) Subject: Re: Help w/ compiling on SunOS 4.1.2 Message-ID: <sjaak.726152999@athena.research.ptt.nl> Sender: gnulists@ai.mit.edu Reply-To: J.W.Schilperoort@research.ptt.nl Organization: PTT Research, The Netherlands References: <1i1v9hINN6su@eagle.natinst.com> Distribution: gnu Date: Mon, 4 Jan 1993 13:09:59 GMT Approved: bug-groff@prep.ai.mit.edu Lines: 29