source: libcaca/trunk/README @ 566

Last change on this file since 566 was 566, checked in by Sam Hocevar, 14 years ago
  • Slightly updated README.
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1$Id: README 566 2006-03-09 12:43:10Z sam $
2
3Building libcaca
4
5   o  Run configure then make. Useful configure flags are:
6
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
11     --enable-gl: support for OpenGL rendering
12     --enable-win32: support for the Windows console
13
14     --disable-imlib2: remove Imlib2 support in cacaview
15
16   o  Cross-compilation examples:
17 
18     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
19
20     ./configure --disable-imlib2 --host=i586-mingw32msvc
21
22
23Using libcaca
24
25   o  Look into the src/ directory for source code examples.
26
27   o  Compiling a libcaca program is fairly simple:
28
29      gcc -c foobar.c -o foobar.o `caca-config --cflags`
30      gcc foobar.o -o foobar `caca-config --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.