Last change
on this file since 806 was
806,
checked in by Sam Hocevar, 17 years ago
|
- Updated README (caca-config -> pkg-config) and TODO.
|
-
Property svn:keywords set to
Id
|
File size:
912 bytes
|
Rev | Line | |
---|
[159] | 1 | $Id: README 806 2006-04-18 08:33:53Z sam $ |
---|
[27] | 2 | |
---|
[189] | 3 | Building libcaca |
---|
[27] | 4 | |
---|
[159] | 5 | o Run configure then make. Useful configure flags are: |
---|
[65] | 6 | |
---|
[300] | 7 | --enable-ncurses: support for the ncurses library |
---|
| 8 | --enable-slang: support for the SLang library |
---|
| 9 | --enable-conio: support for MS-DOS conio.h |
---|
| 10 | --enable-x11: support for native X11 rendering |
---|
[566] | 11 | --enable-gl: support for OpenGL rendering |
---|
| 12 | --enable-win32: support for the Windows console |
---|
[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: |
---|
[159] | 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` |
---|
[202] | 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.