[comp.lang.c++] Compiling NIHCL using g++ on a Decstation 5000

mcginnis@applga.aa.cad.slb.com (Brian McGinnis) (04/14/91)

Hello,

I have been trying to get the NIHCL class libraries compiled on
a Decstation 5000/200 using GNU's g++.  I have successfully compiled
the g++ compiler and know that it works (I used it to compile 
InterViews 2.6).  I have been told that the NIHCL library can and
cannot be compiled by different people. I have retrieved the NIHCL
version and patches from the GNU distribution at MIT.  I have tried
desperately to compile this patched version but have had very limited
success.  Can someone please tell me if the NIHCL can be compiled
with g++ and if so what versions, pathches or tricks need to be used
to do this.

Thankyou very much in advance for any information that you may send me.


Brian McGinnis

mcginnis@applga.aa.cad.slb.com

muts@fysak.fys.ruu.nl (Peter Mutsaers) (04/14/91)

I tried to compile NIHCL with g++ too, on an Apollo and a HP.
Some little and obvious changes have to be made (compare libg++ with the
libs from at&t), and you should not use multiple inheritance, as this does
not work well with g++. I had a problem that the g++ version on apollo
showed some bugs when compiling without mi, and with mi as I told before
does not work because it is not supported in g++ (yet).

But *in principle* it should be possible.
I used version 1.38, maybe some of the bugs were corrected in 1.39.
--
Peter Mutsaers                          email:    muts@fysap.fys.ruu.nl     
Rijksuniversiteit Utrecht                         muts@fys.ruu.nl
Princetonplein 5                          tel:    (+31)-(0)30-533880
3584 CG Utrecht, Netherlands