Change compiler invocation example in gc.man to use dynamic libgc
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Jan 2018 07:46:56 +0000 (10:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 17 Jan 2018 07:46:56 +0000 (10:46 +0300)
* doc/gc.man (SYNOPSIS): Replace gc.a to -lgc option in the compiler
(cc) invocation example.

doc/gc.man

index cb73073..940c2a3 100644 (file)
@@ -11,7 +11,7 @@ void GC_free(void *ptr);
 void * GC_realloc(void *ptr, size_t size);
 .br
 .sp
-cc ... gc.a
+cc ... -lgc
 .LP
 .SH DESCRIPTION
 .I GC_malloc