[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-discuss
Subject: GMP dll for windows
From: Jim.White () DEFRA ! GSI ! GOV ! UK (White, Jim (ITD))
Date: 2003-07-18 10:37:53
Message-ID: BD6A352BC685D511A1D400508BB8562F01AF6DAB () GB125DX
[Download RAW message or body]
> 17 Jul 2003 16:43:14 -0400 (EDT)
> From: Lesley MacPherson <la2macph@math.uwaterloo.ca>
>
> Any thoughts on which is better (cygwin or MinGW) and instructions
> on how to create a dll using MinGW?
deltatrinity has shown that building a Win32 dll is really simple
under MinGW, and I recommend it:
./configure --enable-shared --disable-static --build=$CPU-pc-mingw32
(where $CPU = i386, pentium4, etc)
Then just execute "make" and you'll get "libgmp-3.dll" created in ./.libs
Remember the "cdecl" calling convention needs to be used when calling the
dll.
Cheers
Jim White
Systems Programmer
ITD(A)E, SPS Devt Team
* 01483 403978
* Jim.White@defra.gsi.gov.uk
H A410, Epsom Road, Guildford GU12LD
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic