Last change
on this file since 4333 was
4333,
checked in by Sam Hocevar, 13 years ago
|
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
|
-
Property svn:keywords set to
Id
|
File size:
960 bytes
|
Rev | Line | |
---|
[4333] | 1 | |
---|
[189] | 2 | Building libcaca |
---|
[27] | 3 | |
---|
[159] | 4 | o Run configure then make. Useful configure flags are: |
---|
[65] | 5 | |
---|
[300] | 6 | --enable-ncurses: support for the ncurses library |
---|
| 7 | --enable-slang: support for the SLang library |
---|
| 8 | --enable-conio: support for MS-DOS conio.h |
---|
| 9 | --enable-x11: support for native X11 rendering |
---|
[566] | 10 | --enable-gl: support for OpenGL rendering |
---|
| 11 | --enable-win32: support for the Windows console |
---|
[1050] | 12 | --enable-network: support for the network server |
---|
[65] | 13 | |
---|
[300] | 14 | --disable-imlib2: remove Imlib2 support in cacaview |
---|
| 15 | |
---|
[806] | 16 | --disable-doc: do not build documentation |
---|
| 17 | |
---|
[331] | 18 | o Cross-compilation examples: |
---|
[4333] | 19 | |
---|
[300] | 20 | ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp |
---|
[65] | 21 | |
---|
[331] | 22 | ./configure --disable-imlib2 --host=i586-mingw32msvc |
---|
[202] | 23 | |
---|
[331] | 24 | |
---|
[202] | 25 | Using libcaca |
---|
| 26 | |
---|
[806] | 27 | o Look into the src/ and test/ directories for source code examples. |
---|
[223] | 28 | |
---|
[202] | 29 | o Compiling a libcaca program is fairly simple: |
---|
| 30 | |
---|
[806] | 31 | gcc -c foobar.c -o foobar.o `pkg-config --cflags caca` |
---|
| 32 | gcc foobar.o -o foobar `pkg-config --libs caca` |
---|
[4333] | 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.