您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738
  1. $Id$
  2. Building libcaca
  3. o Run configure then make. Useful configure flags are:
  4. --enable-ncurses: use the ncurses library (default)
  5. --enable-slang: use the SLang 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 Look into the examples/ directory for simple source code examples.
  11. o Compiling a libcaca program is fairly simple:
  12. gcc -c foobar.c -o foobar.o `caca-config --cflags`
  13. gcc foobar.o -o foobar `caca-config --libs`
  14. o If you are writing a shared object that uses libcaca, either a
  15. dynamically loadable plug-in or a shared library, you should use
  16. the `--plugin-libs' flag for libcaca:
  17. gcc -fPIC -c libfoo.c -o libfoo.o `caca-config --cflags`
  18. gcc -shared libfoo.o -o libfoo.so `caca-config --plugin-libs`
  19. Binary packages
  20. o As the API is not stable yet, everyone should statically link libcaca
  21. with their programs or libraries. DO NOT DISTRIBUTE SHARED VERSIONS
  22. OF LIBCACA.