source: libcaca/trunk/README @ 717

Last change on this file since 717 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
RevLine 
[159]1$Id: README 571 2006-03-09 13:08:41Z jylam $
[27]2
[189]3Building libcaca
[27]4
[159]5   o  Run configure then make. Useful configure flags are:
[65]6
[300]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
[566]11     --enable-gl: support for OpenGL rendering
12     --enable-win32: support for the Windows console
[571]13     --enable-network: support for network output
[65]14
[300]15     --disable-imlib2: remove Imlib2 support in cacaview
16
[331]17   o  Cross-compilation examples:
[159]18 
[300]19     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
[65]20
[331]21     ./configure --disable-imlib2 --host=i586-mingw32msvc
[202]22
[331]23
[202]24Using libcaca
25
[566]26   o  Look into the src/ directory for source code examples.
[223]27
[202]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.