You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README 1000 B

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