GMP on OpenSolaris

View: New views
3 Messages — Rating Filter:   Alert me  

GMP on OpenSolaris

by Pippijn van Steenhoven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

yesterday, I installed OpenSolaris in VMWare. Aldor runs fine after a few
tweaks. The only thing missing is libgmp, so I can't build native shared
libraries. Apparently, GMP is not allowed due to its licence (GPLv3):
http://opensolaris.org/os/project/arc-process/PTLtestbed/PTL/. However,
according to the GMP website itself, it is LGPL, so I don't quite get it.
Anyhow, I wanted to make more use of GMP in Aldor by replacing the bigint
implementation with it. OpenSolaris not having GMP makes that a bit
harder. Also, is it just me or does GMP have near to no documentation?
How do people know what functions do what? I myself use the C++ interface
to infer the function names ("what's the function for mpz + mpz? Let's
see what mpz_class::operator+(mpz_class) does").

Regards,

--
Pippijn van Steenhoven


_______________________________________________
Aldor-l mailing list
Aldor-l@...
http://aldor.org/mailman/listinfo/aldor-l_aldor.org

signature.asc (204 bytes) Download Attachment

Re: GMP on OpenSolaris

by Bill Page-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pippijn,

Maybe you would like to consider using the new MPIR fork of GMP with Aldor?

http://www.mpir.org

It specifically has a GNU LGPL v2+ license. I am quite sure it has
support on OpenSolaris.

MPIR is used in Sage.

Regards,
Bill Page.

2009/3/19 Pippijn van Steenhoven <pip88nl@...>:

> Hello,
>
> yesterday, I installed OpenSolaris in VMWare. Aldor runs fine after a few
> tweaks. The only thing missing is libgmp, so I can't build native shared
> libraries. Apparently, GMP is not allowed due to its licence (GPLv3):
> http://opensolaris.org/os/project/arc-process/PTLtestbed/PTL/. However,
> according to the GMP website itself, it is LGPL, so I don't quite get it.
> Anyhow, I wanted to make more use of GMP in Aldor by replacing the bigint
> implementation with it. OpenSolaris not having GMP makes that a bit
> harder. Also, is it just me or does GMP have near to no documentation?
> How do people know what functions do what? I myself use the C++ interface
> to infer the function names ("what's the function for mpz + mpz? Let's
> see what mpz_class::operator+(mpz_class) does").
>
> Regards,
>
> --
> Pippijn van Steenhoven
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknCDDIACgkQJc+zqGNdDgp0zACgqUbQemCVP219rAdqxnvylHLl
> CooAn1rirYhQ59Gd+tJCSUEM2Nv/z083
> =FXKw
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Aldor-l mailing list
> Aldor-l@...
> http://aldor.org/mailman/listinfo/aldor-l_aldor.org
>
>

_______________________________________________
Aldor-l mailing list
Aldor-l@...
http://aldor.org/mailman/listinfo/aldor-l_aldor.org

Re: GMP on OpenSolaris

by Ralf Hemmecke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> http://www.mpir.org

> It specifically has a GNU LGPL v2+ license. I am quite sure it has
> support on OpenSolaris.
>
> MPIR is used in Sage.

Interesting, the COPYING file in the 1.0 tar file says GPL v2+ (not LGPL
as on the above website). Maybe they want to confuse people.

Ralf

_______________________________________________
Aldor-l mailing list
Aldor-l@...
http://aldor.org/mailman/listinfo/aldor-l_aldor.org