GMP on Windows & Assembler & VC++

Brian Gladman brg at gladman.plus.com
Mon May 17 00:52:47 CEST 2004


> I´m trying to create a static library on windows with Visual C++ without
using
> cygwin or mingw.  Up to now i have one with the generic mpn code that
seems
> 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):

   http://fp.gladman.plus.com/computing/index.htm

(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