source: libcaca/branches/0.99.beta1/README @ 3485

Last change on this file since 3485 was 806, checked in by Sam Hocevar, 14 years ago
  • Updated README (caca-config -> pkg-config) and TODO.
  • Property svn:keywords set to Id
File size: 912 bytes
Line 
1$Id: README 806 2006-04-18 08:33:53Z 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     --disable-doc: do not build documentation
17
18   o  Cross-compilation examples:
19 
20     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
21
22     ./configure --disable-imlib2 --host=i586-mingw32msvc
23
24
25Using libcaca
26
27   o  Look into the src/ and test/ directories for source code examples.
28
29   o  Compiling a libcaca program is fairly simple:
30
31      gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
32      gcc foobar.o -o foobar `pkg-config --libs caca`
33
Note: See TracBrowser for help on using the repository browser.