Update documentation to reflect the default build options.

master
Michael R Sweet 3 months ago
parent 9807af8df5
commit e54574aca7
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
  1. 4
      doc/body.md
  2. BIN
      doc/mxml.epub
  3. 4
      doc/mxml.html

@ -81,9 +81,9 @@ Mini-XML provides a single header file which you include:
#include <mxml.h>
```
The Mini-XML library is included with your program using the `-lmxml` option:
The Mini-XML library is included with your program using the `-lmxml4` option:
gcc -o myprogram myprogram.c -lmxml
gcc -o myprogram myprogram.c -lmxml4
If you have the `pkg-config` software installed, you can use it to determine the
proper compiler and linker options for your installation:

Binary file not shown.

@ -433,8 +433,8 @@ span.string {
<p>Mini-XML provides a single header file which you include:</p>
<pre><code class="language-c"><span class="directive">#include &lt;mxml.h&gt;</span>
</code></pre>
<p>The Mini-XML library is included with your program using the <code>-lmxml</code> option:</p>
<pre><code>gcc -o myprogram myprogram.c -lmxml
<p>The Mini-XML library is included with your program using the <code>-lmxml4</code> option:</p>
<pre><code>gcc -o myprogram myprogram.c -lmxml4
</code></pre>
<p>If you have the <code>pkg-config</code> software installed, you can use it to determine the proper compiler and linker options for your installation:</p>
<pre><code>gcc `pkg-config --cflags mxml4` -o myprogram myprogram.c `pkg-config --libs mxml4`

Loading…
Cancel
Save