aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-11-27 21:28:56 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-11-27 21:28:56 +0200
commita2e0c35036b884486d05cbb4f71fc041dd30b98b (patch)
tree65fb445d47204864efb32b741152b2b68e8f84ec
parentd991932774cf1a8e82affcbf88c08122eafc8588 (diff)
downloadegawk-a2e0c35036b884486d05cbb4f71fc041dd30b98b.tar.gz
egawk-a2e0c35036b884486d05cbb4f71fc041dd30b98b.tar.bz2
egawk-a2e0c35036b884486d05cbb4f71fc041dd30b98b.zip
Doc updates.
-rw-r--r--TODO2
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/gawk.info148
-rw-r--r--doc/gawk.texi2
4 files changed, 81 insertions, 76 deletions
diff --git a/TODO b/TODO
index 4098f841..676e56a0 100644
--- a/TODO
+++ b/TODO
@@ -20,7 +20,7 @@ Minor Cleanups and Code Improvements
API:
awk_true and awk_false ???
- Update doc to use gcc -o filefuncs.so -shared filefuncs.o
+ DONE: Update doc to use gcc -o filefuncs.so -shared filefuncs.o
instead of ld ...
??? #if !defined(GAWK) && !defined(GAWK_OMIT_CONVENIENCE_MACROS)
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 4f38e319..56a3a6f4 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-27 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawk.texi: API chapter. Change command for making shared libs
+ to use gcc, not ld. Thanks to Nelson Beebe.
+
2012-11-24 Arnold D. Robbins <arnold@skeeve.com>
* gawk.texi (Future Extensions): Point to TODO file in the
diff --git a/doc/gawk.info b/doc/gawk.info
index 0b7fd8cc..12ca6b44 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -24148,7 +24148,7 @@ is the location of the `gawkapi.h' header file, the following steps(1)
create a GNU/Linux shared library:
$ gcc -fPIC -shared -DHAVE_CONFIG_H -c -O -g -IIDIR filefuncs.c
- $ ld -o filefuncs.so -shared filefuncs.o -lc
+ $ gcc -o filefuncs.so -shared filefuncs.o
Once the library exists, it is loaded by using the `@load' keyword.
@@ -32198,78 +32198,78 @@ Node: Internal File Description956926
Node: Internal File Ops960614
Ref: Internal File Ops-Footnote-1972061
Node: Using Internal File Ops972201
-Ref: Using Internal File Ops-Footnote-1974557
-Node: Extension Samples974823
-Node: Extension Sample File Functions976266
-Node: Extension Sample Fnmatch984739
-Node: Extension Sample Fork986465
-Node: Extension Sample Ord987679
-Node: Extension Sample Readdir988455
-Node: Extension Sample Revout989959
-Node: Extension Sample Rev2way990552
-Node: Extension Sample Read write array991242
-Node: Extension Sample Readfile993125
-Node: Extension Sample API Tests993880
-Node: Extension Sample Time994405
-Node: gawkextlib995712
-Node: Language History998093
-Node: V7/SVR3.1999615
-Node: SVR41001936
-Node: POSIX1003378
-Node: BTL1004386
-Node: POSIX/GNU1005120
-Node: Common Extensions1010655
-Node: Ranges and Locales1011762
-Ref: Ranges and Locales-Footnote-11016380
-Ref: Ranges and Locales-Footnote-21016407
-Ref: Ranges and Locales-Footnote-31016667
-Node: Contributors1016888
-Node: Installation1021184
-Node: Gawk Distribution1022078
-Node: Getting1022562
-Node: Extracting1023388
-Node: Distribution contents1025080
-Node: Unix Installation1030302
-Node: Quick Installation1030919
-Node: Additional Configuration Options1032881
-Node: Configuration Philosophy1034358
-Node: Non-Unix Installation1036700
-Node: PC Installation1037158
-Node: PC Binary Installation1038457
-Node: PC Compiling1040305
-Node: PC Testing1043249
-Node: PC Using1044425
-Node: Cygwin1048610
-Node: MSYS1049610
-Node: VMS Installation1050124
-Node: VMS Compilation1050727
-Ref: VMS Compilation-Footnote-11051734
-Node: VMS Installation Details1051792
-Node: VMS Running1053427
-Node: VMS Old Gawk1055034
-Node: Bugs1055508
-Node: Other Versions1059360
-Node: Notes1064675
-Node: Compatibility Mode1065334
-Node: Additions1066117
-Node: Accessing The Source1067044
-Node: Adding Code1068647
-Node: New Ports1074689
-Node: Derived Files1078824
-Ref: Derived Files-Footnote-11084132
-Ref: Derived Files-Footnote-21084166
-Ref: Derived Files-Footnote-31084766
-Node: Future Extensions1084864
-Node: Implementation Limitations1085445
-Node: Basic Concepts1086672
-Node: Basic High Level1087353
-Ref: figure-general-flow1087624
-Ref: figure-process-flow1088223
-Ref: Basic High Level-Footnote-11091452
-Node: Basic Data Typing1091637
-Node: Glossary1094992
-Node: Copying1120303
-Node: GNU Free Documentation License1157860
-Node: Index1182997
+Ref: Using Internal File Ops-Footnote-1974554
+Node: Extension Samples974820
+Node: Extension Sample File Functions976263
+Node: Extension Sample Fnmatch984736
+Node: Extension Sample Fork986462
+Node: Extension Sample Ord987676
+Node: Extension Sample Readdir988452
+Node: Extension Sample Revout989956
+Node: Extension Sample Rev2way990549
+Node: Extension Sample Read write array991239
+Node: Extension Sample Readfile993122
+Node: Extension Sample API Tests993877
+Node: Extension Sample Time994402
+Node: gawkextlib995709
+Node: Language History998090
+Node: V7/SVR3.1999612
+Node: SVR41001933
+Node: POSIX1003375
+Node: BTL1004383
+Node: POSIX/GNU1005117
+Node: Common Extensions1010652
+Node: Ranges and Locales1011759
+Ref: Ranges and Locales-Footnote-11016377
+Ref: Ranges and Locales-Footnote-21016404
+Ref: Ranges and Locales-Footnote-31016664
+Node: Contributors1016885
+Node: Installation1021181
+Node: Gawk Distribution1022075
+Node: Getting1022559
+Node: Extracting1023385
+Node: Distribution contents1025077
+Node: Unix Installation1030299
+Node: Quick Installation1030916
+Node: Additional Configuration Options1032878
+Node: Configuration Philosophy1034355
+Node: Non-Unix Installation1036697
+Node: PC Installation1037155
+Node: PC Binary Installation1038454
+Node: PC Compiling1040302
+Node: PC Testing1043246
+Node: PC Using1044422
+Node: Cygwin1048607
+Node: MSYS1049607
+Node: VMS Installation1050121
+Node: VMS Compilation1050724
+Ref: VMS Compilation-Footnote-11051731
+Node: VMS Installation Details1051789
+Node: VMS Running1053424
+Node: VMS Old Gawk1055031
+Node: Bugs1055505
+Node: Other Versions1059357
+Node: Notes1064672
+Node: Compatibility Mode1065331
+Node: Additions1066114
+Node: Accessing The Source1067041
+Node: Adding Code1068644
+Node: New Ports1074686
+Node: Derived Files1078821
+Ref: Derived Files-Footnote-11084129
+Ref: Derived Files-Footnote-21084163
+Ref: Derived Files-Footnote-31084763
+Node: Future Extensions1084861
+Node: Implementation Limitations1085442
+Node: Basic Concepts1086669
+Node: Basic High Level1087350
+Ref: figure-general-flow1087621
+Ref: figure-process-flow1088220
+Ref: Basic High Level-Footnote-11091449
+Node: Basic Data Typing1091634
+Node: Glossary1094989
+Node: Copying1120300
+Node: GNU Free Documentation License1157857
+Node: Index1182994

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index fb008d74..6de0f9d8 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -31255,7 +31255,7 @@ the tools.} create a GNU/Linux shared library:
@example
$ @kbd{gcc -fPIC -shared -DHAVE_CONFIG_H -c -O -g -I@var{idir} filefuncs.c}
-$ @kbd{ld -o filefuncs.so -shared filefuncs.o -lc}
+$ @kbd{gcc -o filefuncs.so -shared filefuncs.o}
@end example
Once the library exists, it is loaded by using the @code{@@load} keyword.