Article View: gnu.gcc.help
Article #52317Q: Compiling libg++ for Solaris2
From: Tan Chee Weei
Date: Wed, 02 Dec 1992 03:37
Date: Wed, 02 Dec 1992 03:37
15 lines
1491 bytes
1491 bytes
Has anybody successfully compiled libg++-2.2 for Solaris2 ? I have problems compiling the source with gcc-2.3.1 (which was successfully compiled on Solaris 2 although it was unbearably slow). The fixincludes script for svr4 was run when building gcc-2.3.1. One of the problem seems to be different argument types for C functions, eg. the std.h file provided by libg++ includes g++-include/unistd.h which declares vhangup to have argument () which is taken by the compiler to mean (...). The system's unistd.h and the fixinclude fixed unistd.h also declares vhangup but with argument (void). The compiler complains of re-declarations of incompatible argument types. Is there some compiler flags I have to add or is libg++-2.2 not ready for Solaris 2 yet? Are there any fixes available? Where are the archives for this newsgroup? Thanks. CW
Technical Details
Message-ID:
<ByM4pz.8LH@newsserver.technet.sg>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!newsserver.technet.sg!ctanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,89853a20a097775c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-12-01 19:50:53 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!newsserver.technet.sg!ctan From: ctan@solomon.technet.sg (Tan Chee Weei) Subject: Q: Compiling libg++ for Solaris2 Message-ID: <ByM4pz.8LH@newsserver.technet.sg> Sender: news@newsserver.technet.sg Nntp-Posting-Host: solomon.technet.sg Organization: TECHNET, Singapore X-Newsreader: TIN [version 1.1 PL6] Date: Wed, 2 Dec 1992 03:37:11 GMT Lines: 15