diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-07-31 01:26:11 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-07-31 01:26:11 +0200 |
commit | d2d47c30fcaeec769e404ddf10e96df3747d6e57 (patch) | |
tree | 08701a4a78f4c4eaa30f756c5d3101a740531ca4 /demos/perl | |
parent | 0e3758ff7b71caf9ff885aa6cf61d4bf80f9f7d4 (diff) | |
download | gmp-d2d47c30fcaeec769e404ddf10e96df3747d6e57.tar.gz |
* demos/perl/INSTALL: Add notes on building with a DLL.
Diffstat (limited to 'demos/perl')
-rw-r--r-- | demos/perl/INSTALL | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/demos/perl/INSTALL b/demos/perl/INSTALL index 5f807f403..5d7a5cbff 100644 --- a/demos/perl/INSTALL +++ b/demos/perl/INSTALL @@ -1,4 +1,4 @@ -Copyright 2001 Free Software Foundation, Inc. +Copyright 2001, 2003 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -77,3 +77,15 @@ Once installed, programs using the GMP module become simply And the documentation read directly too man GMP + + + +NOTES FOR PARTICULAR SYSTEMS + +On Mingw or Cygwin with a DLL build of GMP, the array initializers in +GMP.xs fail to compile, due to being function pointers coming from a +DLL and hence not constants. This is a problem for all such code, +perhaps GCC will address this itself one day. For now the suggestion +is to build the main libgmp static, or to compile GMP.xs as C++ using +for instance "make CC=g++". (In C++, non-constant initializers are +allowed.) |