mini-gmp and mpq

Marco Bodrato bodrato at
Tue Feb 27 22:08:47 UTC 2018


Il Mar, 27 Febbraio 2018 10:39 pm, Bradley Lucier ha scritto:
> Thank you for running this test.  I tried to run some things myself.
> I downloaded the development gmp to get current mini-gmp.[ch] and used
> mini-mpq.[ch] from your previous email.  I couldn't get mini-mpq.c to
> compiler, my error messages were:

> gcc -o test mini-gmp.c mini-mpq.c test.c

My proposed mini-mpq uses some internals of mini-gmp... but it is not
integrated yet...

I suggest to add a line

#include "mini-gmp.c"

early in mini-mpq.c, and remove mini-gmp.c from the command-line of the



More information about the gmp-devel mailing list