Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

123456789101112131415161718192021222324252627282930313233343536373839
  1. $Id$
  2. Building libcaca
  3. o Run configure then make. Useful configure flags are:
  4. --enable-ncurses: support for the ncurses library (default enabled)
  5. --enable-slang: add support for the SLang library
  6. --enable-conio: add support for MS-DOS conio.h
  7. --enable-x11: add support for native X11 rendering
  8. o Cross-compilation example:
  9. ./configure --disable-ncurses --enable-conio --host=i386-pc-msdosdjgpp
  10. Using libcaca
  11. o Look into the examples/ directory for simple source code examples.
  12. o Compiling a libcaca program is fairly simple:
  13. gcc -c foobar.c -o foobar.o `caca-config --cflags`
  14. gcc foobar.o -o foobar `caca-config --libs`
  15. o If you are writing a shared object that uses libcaca, either a
  16. dynamically loadable plug-in or a shared library, you should use
  17. the `--plugin-libs' flag for libcaca:
  18. gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags`
  19. gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs`
  20. Binary packages
  21. o As the API is not stable yet, everyone should statically link libcaca
  22. with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS
  23. OF LIBCACA.