Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 
Sam Hocevar 9902d7ece5 * debian/control: 21 lat temu
autotools * Removed legacy .cvsignore files. 21 lat temu
debian * debian/control: 21 lat temu
doc * examples/: 21 lat temu
examples * NOTES: 21 lat temu
src * src/caca.c src/graphics.c: 21 lat temu
AUTHORS * AUTHORS NEWS: 21 lat temu
BUGS * libee/ee.h: 21 lat temu
COPYING * The big TTYvaders/libcaca split. This is libcaca. 21 lat temu
ChangeLog * Added a ChangeLog file. 21 lat temu
Makefile.am * configure.ac: 21 lat temu
NEWS * AUTHORS NEWS: 21 lat temu
NOTES * NOTES: 21 lat temu
README * NOTES: added information about colour support. 21 lat temu
TODO * TODO: 21 lat temu
bootstrap * The big TTYvaders/libcaca split. This is libcaca. 21 lat temu
caca-config.in * debian/control: 21 lat temu
configure.ac * src/caca.c src/graphics.c: 21 lat temu

README

$Id$

Building libcaca

o Run configure then make. Useful configure flags are:

--enable-slang: use the SLang library (default)
--enable-ncurses: use the ncurses library
--enable-conio: use MS-DOS conio.h

o Cross-compilation example:

./configure --enable-conio --host=i386-pc-msdosdjgpp


Using libcaca

o Look into the examples/ directory for simple source code examples.

o Compiling a libcaca program is fairly simple:

gcc -c foobar.c -o foobar.o `caca-config --cflags`
gcc foobar.o -o foobar `caca-config --libs`

o If you are writing a shared object that uses libcaca, either a
dynamically loadable plug-in or a shared library, you should use
the `--plugin-libs' flag for libcaca:

gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags`
gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs`


Binary packages

o As the API is not stable yet, everyone should statically link libcaca
with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS
OF LIBCACA.