File: building.md

package info (click to toggle)
gumbo-parser 0.13.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,900 kB
  • sloc: ansic: 30,496; cpp: 3,836; python: 890; makefile: 93; sh: 15
file content (36 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
## Building instructions

To build and install the library, issue the standard UNIX incantation from
the root of the distribution:

```
./autogen.sh
```
```
./configure
```
```
make
```
```
sudo make install
```

Gumbo comes with full pkg-config support, so you can use the pkg-config to
print the flags needed to link your program against it:

```
pkg-config --cflags gumbo         # print compiler flags
```
```
pkg-config --libs gumbo           # print linker flags
```
```
pkg-config --cflags --libs gumbo  # print both
```

For example:

```
gcc my_program.c `pkg-config --cflags --libs gumbo`
```