source: libcaca/trunk/README @ 704

Last change on this file since 704 was 571, checked in by Jean-Yves Lamoureux, 15 years ago
  • Updated README for network driver, fixed remaining exporters
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1$Id: README 571 2006-03-09 13:08:41Z jylam $
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     --enable-network: support for network output
14
15     --disable-imlib2: remove Imlib2 support in cacaview
16
17   o  Cross-compilation examples:
18 
19     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
20
21     ./configure --disable-imlib2 --host=i586-mingw32msvc
22
23
24Using libcaca
25
26   o  Look into the src/ directory for source code examples.
27
28   o  Compiling a libcaca program is fairly simple:
29
30      gcc -c foobar.c -o foobar.o `caca-config --cflags`
31      gcc foobar.o -o foobar `caca-config --libs`
32
33
34Binary packages
35
36   o  As the API is not stable yet, everyone should statically link libcaca
37      with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS
38      OF LIBCACA.
39
Note: See TracBrowser for help on using the repository browser.