summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL2
-rw-r--r--README2
2 files changed, 2 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index e5d5d32cf..d08a16a9f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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
diff --git a/README b/README
index aa449ead2..807195743 100644
--- a/README
+++ b/README
@@ -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: