[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MinGW and gmp-3.1.1
From: |
Dima Angert |
Subject: |
MinGW and gmp-3.1.1 |
Date: |
Wed, 24 Jan 2001 11:52:29 +0200 |
Hi,
I have succeded to compile both static and dynamic versions of gmp-3.1.1
with mingw-2.95.2-1. There are some configure problems, like cygpath
that called incorrectly, dll building flag in lt_config and the very
same host detection problem of 3.1.
Also, random() is not available in Win32 API, and I thus dynamic build
fails because of undefined symbols. I had overcome this by inserting the
following code in one of the common header files (config.h I think, yes
I know it was dirty).
#ifdef __MINGW32__
static long random()
{
return rand();
}
#endif
Regards,
Dimitry.
--
+--------------------------------------+++-----------------------------+
Dimitry "Dima" Angert | mailto:address@hidden
Software Architect - Test Insight Ltd. | http://www.testinsight.com
+--------------------------------------+++-----------------------------+
- MinGW and gmp-3.1.1,
Dima Angert <=