source: libcaca/branches/0.3/README @ 3174

Last change on this file since 3174 was 258, checked in by Sam Hocevar, 19 years ago
  • debian/control: + Updated long descriptions.
  • debian/changelog ChangeLog? doc/doxygen.cfg NEWS: + Prepared 0.3 release.
  • README: + --enable-ncurses is now the default.
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1$Id: README 258 2003-12-18 00:41:28Z sam $
2
3Building libcaca
4
5   o  Run configure then make. Useful configure flags are:
6
7     --enable-ncurses: use the ncurses library (default)
8     --enable-slang: use the SLang library
9     --enable-conio: use MS-DOS conio.h
10
11   o  Cross-compilation example:
12 
13     ./configure --enable-conio --host=i386-pc-msdosdjgpp
14
15
16Using libcaca
17
18   o  Look into the examples/ directory for simple source code examples.
19
20   o  Compiling a libcaca program is fairly simple:
21
22      gcc -c foobar.c -o foobar.o `caca-config --cflags`
23      gcc foobar.o -o foobar `caca-config --libs`
24
25   o  If you are writing a shared object that uses libcaca, either a
26      dynamically loadable plug-in or a shared library, you should use
27      the `--plugin-libs' flag for libcaca:
28
29      gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags`
30      gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs`
31
32
33Binary packages
34
35   o  As the API is not stable yet, everyone should statically link libcaca
36      with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS
37      OF LIBCACA.
38
Note: See TracBrowser for help on using the repository browser.