Compiling gmp-4.1.4 for Cygwin/mingw, I need the patch below for
__gmp_mpn_popcount to show up in the DLL.
The other .asm files need this too, so this is only an example that
works. mpz_popcount is the only one that I need right now, and I'm
not sure what the nice way to do this is.
Jan.
--- orig/mpn/x86/pentium/popcount.asm 2002-04-23 00:09:00 +0200
+++ gmp-4.1.4/mpn/x86/pentium/popcount.asm 2005-05-03 20:19:09 +0200
@@ -122,4 +122,9 @@
ret
+ifdef(`DLL_EXPORT',`
+ .section .drectve
+ .ascii " -export:__gmpn_popcount"
+')
+
EPILOGUE()
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
_______________________________________________
Bug-gmp mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gmp