|
|
19 vuotta sitten | |
|---|---|---|
| DotNet | 19 vuotta sitten | |
| autotools | 22 vuotta sitten | |
| caca | 19 vuotta sitten | |
| cucul | 19 vuotta sitten | |
| cxx | 19 vuotta sitten | |
| debian | 19 vuotta sitten | |
| doc | 19 vuotta sitten | |
| kernel | 19 vuotta sitten | |
| msvc | 19 vuotta sitten | |
| perl | 19 vuotta sitten | |
| python | 19 vuotta sitten | |
| src | 19 vuotta sitten | |
| test | 19 vuotta sitten | |
| tools | 19 vuotta sitten | |
| AUTHORS | 19 vuotta sitten | |
| COPYING | 20 vuotta sitten | |
| COPYING.GPL | 20 vuotta sitten | |
| COPYING.LGPL | 20 vuotta sitten | |
| ChangeLog | 19 vuotta sitten | |
| Makefile.am | 19 vuotta sitten | |
| NEWS | 19 vuotta sitten | |
| NOTES | 19 vuotta sitten | |
| README | 19 vuotta sitten | |
| THANKS | 19 vuotta sitten | |
| TODO | 19 vuotta sitten | |
| bootstrap | 20 vuotta sitten | |
| build-dos | 19 vuotta sitten | |
| build-kernel | 20 vuotta sitten | |
| build-win32 | 19 vuotta sitten | |
| caca-config.in | 20 vuotta sitten | |
| common.h | 19 vuotta sitten | |
| configure.ac | 19 vuotta sitten | |
| libcaca.spec | 20 vuotta sitten | |
$Id$
Building libcaca
o Run configure then make. Useful configure flags are:
--enable-ncurses: support for the ncurses library
--enable-slang: support for the SLang library
--enable-conio: support for MS-DOS conio.h
--enable-x11: support for native X11 rendering
--enable-gl: support for OpenGL rendering
--enable-win32: support for the Windows console
--disable-imlib2: remove Imlib2 support in cacaview
--disable-doc: do not build documentation
o Cross-compilation examples:
./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
./configure --disable-imlib2 --host=i586-mingw32msvc
Using libcaca
o Look into the src/ and test/ directories for source code examples.
o Compiling a libcaca program is fairly simple:
gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
gcc foobar.o -o foobar `pkg-config --libs caca`