[comp.lang.c++] NIH Classes Lib on Sparc?

beck@modi.cs.cornell.edu (Micah Beck) (12/15/89)

I recently FTPed Revision 2.204 of the NIH Classes Library and tried to
build it on a SparcStation.  It seems that, because the library contains
a few machine-dependent functions, it cannot be built on a Sparc.  My
question: is it possible to compile only that subset of the library which is
machine independent?  Has anyone done this for the Sun4/Sparcstation?
Could they send me the necessary changes?

On another note, when I compiled the errfac subdirectory, it failed the
validation test (again on the Sparc).  The output of errtst is supposed to be 

NIHCL: warning: [ACTIVE] Tried to activate active object: 00000000->NONE::s()
NIHCL: fatal: [ZERODEN] Attempt to construct Fraction with zero denominator: 00000000->Fraction::Fraction(1,0)

but instead I get

NIHCL: warning: [ACTIVE] Tried to activate active object: 0x00002000->(null)::s()
NIHCL: fatal: [ZERODEN] Attempt to construct Fraction with zero denominator: 0x00002000->Fraction::Fraction(0,0)

is the difference significant?

Finally, can I get ANY documentation on NIHCL or must I wait for the book
from John Wiley and Sons?  If I cannot make use of NIHCL is there any other
publicly available set of useful classes which compiles under AT&T's  C++
on a Sparc?

Thanks for any help.
Micah Beck
Cornell CS Dept.
beck@cs.cornell.edu