source: libcaca/trunk/README @ 4328

Last change on this file since 4328 was 2182, checked in by Jean-Yves Lamoureux, 12 years ago
  • FIRST !
  • Property svn:keywords set to Id
File size: 968 bytes
RevLine 
[159]1$Id: README 2182 2008-01-01 00:07:04Z jylam $
[2025]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
[1050]13     --enable-network: support for the network server
[65]14
[300]15     --disable-imlib2: remove Imlib2 support in cacaview
16
[806]17     --disable-doc: do not build documentation
18
[331]19   o  Cross-compilation examples:
[159]20 
[300]21     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
[65]22
[331]23     ./configure --disable-imlib2 --host=i586-mingw32msvc
[202]24
[331]25
[202]26Using libcaca
27
[806]28   o  Look into the src/ and test/ directories for source code examples.
[223]29
[202]30   o  Compiling a libcaca program is fairly simple:
31
[806]32      gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
33      gcc foobar.o -o foobar `pkg-config --libs caca`
[2182]34 
Note: See TracBrowser for help on using the repository browser.