summaryrefslogtreecommitdiff
path: root/win32/MinGW/Readme.txt
blob: 866312b1a468b8061aab7acbeae113b5d8de7b89 (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
25
26
27
-- Building
To build <win32\liburiparser.a> run:
  mingw32-make.exe
in this directory.

To build and run the test suite (file <win32\test.exe>) run:
  mingw32-make.exe check
in this directory. 

Alternatively, install MSYS <http://www.mingw.org/msys.shtml>, set
it to use your MinGW distro during post-install and use ./configure in
the root of this package to produce the Makefile. Then run make.


-- Installation
To install uriparser in your MinGW distro:
1. Copy liburiparser.a to the MinGW lib directory.
2. Copy the uriparser directory (in this package's include
   directory) to the MinGW include directory.

-- Hello world à la uriparser
To build a C program that uses liburiparser:
gcc -Wall -Wextra example.c -o example -O3 -s -luriparser


--------------------------------------------------------------
Readme contributed by Michael Anthony Puls II.