summaryrefslogtreecommitdiff
blob: f57c4dfce42b4ea6e591cd5bcea9f5f0ca0e7c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Fix incorrect man page and include mention of the possibility
of linking to a static libary only.
https://bugs.gentoo.org/show_bug.cgi?id=562570

--- a/primegen.3
+++ b/primegen.3
@@ -14,13 +14,16 @@
 .br
 void \fBprimegen_skipto\fP(&\fIpg\fR,\fIbound\fR);
 
-struct primegen \fIpg\fR;
+primegen \fIpg\fR;
 .br
 uint64 \fIbound\fR;
 .SH DESCRIPTION
 The primegen library generates prime numbers in order:
 2, 3, 5, 7, etc.
 It can generate primes as large as 10^15.
+Only a static version of this library is provided, so instead of
+linking your program with -lprimegen you will have to pass the
+full path to the library (e.g. /usr/lib/primegen.a) to the compiler.
 
 The simplest way to use primegen
 is to call