Mail Archives: djgpp/2002/05/08/02:09:43
On Wed, 8 May 2002, Zoe James wrote:
> Hello
>
> I want to use the Integer class in the GNU class library. Ihave downloaded
> and unzipped the binary package (lgp2952b.zip) into my DJGPP directory, put
> the header path into RHIDE, but I get parse errors on the header file. Have
> any of you ever used a libgpp class successfully?
libg++ is not maintained already for a long time and is not compatible
with gcc-3.X. lgp2952b.zip is for gcc-2.95.2, lgp2953b.zip for gcc-2.95.3.
One could try to port Integer and Rational classes for current
GCC versions. A long time ago I did similar thing to use them with
ancient Borland C++ 3.1 for DOS (most mess was then due to smaller size of
int). I used them for one my own specialized computer algebra package
Other way is to write some C++ wrapper for example for GMP (maybe one
exists, I don't know)
Andris
- Raw text -