mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Update documentation to reflect the default build options.
This commit is contained in:
parent
9807af8df5
commit
e54574aca7
@ -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:
|
||||
|
BIN
doc/mxml.epub
BIN
doc/mxml.epub
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 <mxml.h></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…
Reference in New Issue
Block a user