source: libcaca/trunk/README @ 4395

Last change on this file since 4395 was 4392, checked in by Sam Hocevar, 11 years ago

Clarify the need to bootstrap in README.

  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[4333]1
[189]2Building libcaca
[27]3
[4392]4   o  If you are using a Git or SVN checkout, you need to run the
5      bootstrap script in order to generate configure. This is not
6      necessary for official tarballs.
7
[159]8   o  Run configure then make. Useful configure flags are:
[65]9
[300]10     --enable-ncurses: support for the ncurses library
11     --enable-slang: support for the SLang library
12     --enable-conio: support for MS-DOS conio.h
13     --enable-x11: support for native X11 rendering
[566]14     --enable-gl: support for OpenGL rendering
15     --enable-win32: support for the Windows console
[1050]16     --enable-network: support for the network server
[65]17
[300]18     --disable-imlib2: remove Imlib2 support in cacaview
19
[806]20     --disable-doc: do not build documentation
21
[331]22   o  Cross-compilation examples:
[4333]23
[300]24     ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
[65]25
[331]26     ./configure --disable-imlib2 --host=i586-mingw32msvc
[202]27
[331]28
[202]29Using libcaca
30
[806]31   o  Look into the src/ and test/ directories for source code examples.
[223]32
[202]33   o  Compiling a libcaca program is fairly simple:
34
[806]35      gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
36      gcc foobar.o -o foobar `pkg-config --libs caca`
[4333]37
Note: See TracBrowser for help on using the repository browser.