diff options
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | README | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ In practice, that example would be written like this instead: Finally, you have to compile your test program, and link it with the MP library. Assuming your working directory is still the gmp source directory, -type, and that your source file is called example.c, do: +and that your source file is called example.c, enter: gcc -g -I. example.c libgmp.a @@ -29,7 +29,7 @@ instructions in the file INSTALL or in gmp.texi. Once you have compiled the library, you should write some small example, and make sure you can compile them. A typical compilation command is this: - gcc -g your-file.c -I<gmp-source-dir> <gmp-bin-dir>libgmp.a -lm + gcc -g your-file.c -I<gmp-source-dir> <gmp-bin-dir>/libgmp.a -lm If you have installed the library, you can simply do: |