GMP and MPFR static linking problem
Patrick Pelissier
Patrick.Pelissier at loria.fr
Tue Jun 1 09:29:34 CEST 2004
> and I compile with the command:
>
> gcc -o test main.c -static -O2 -I/scratch/jwbos/lib/include
> /scratch/jwbos/lib/lib/libgmp.a /scratch/jwbos/lib/lib/libmpfr.a
>
Compile with this command:
gcc -o test main.c -static -O2
-I/scratch/jwbos/lib/include
/scratch/jwbos/lib/lib/libmpfr.a
/scratch/jwbos/lib/lib/libgmp.a
Sincerely,
Patrick Pelissier
More information about the gmp-discuss
mailing list