GMP on Windows & Assembler & VC++

Brian Gladman brg at
Mon May 17 00:52:47 CEST 2004

> I´m trying to create a static library on windows with Visual C++ without
> cygwin or mingw.  Up to now i have one with the generic mpn code that
> to work, but i want to use the specific x86 assembler.
> I have some questions:
> 1. I think the assembly code is in AT&T format, isn´t it?
> 2. Can someone explain me what is the macro processor (m4) used for?
> 2. And finllay :), Is there any way to obtain ".obj" files from the ".asm"
files? I don´t
> know exactly how to do it. I´ve tried some compilers like MASM or NASM
without any result.

I have some assembler code files converted to Intel syntax here (blended +
pentium family):

(look under GMP).

This project uses GMP 4.1.3, VC++ 7.1 and NASM (or YASM).

    Brian Gladman

More information about the gmp-discuss mailing list