選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README 1.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839
  1. $Id$
  2. Building libcaca
  3. o Run configure then make. Useful configure flags are:
  4. --enable-ncurses: support for the ncurses library
  5. --enable-slang: support for the SLang library
  6. --enable-conio: support for MS-DOS conio.h
  7. --enable-x11: support for native X11 rendering
  8. --enable-gl: support for OpenGL rendering
  9. --enable-win32: support for the Windows console
  10. --enable-network: support for network output
  11. --disable-imlib2: remove Imlib2 support in cacaview
  12. o Cross-compilation examples:
  13. ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
  14. ./configure --disable-imlib2 --host=i586-mingw32msvc
  15. Using libcaca
  16. o Look into the src/ directory for source code examples.
  17. o Compiling a libcaca program is fairly simple:
  18. gcc -c foobar.c -o foobar.o `caca-config --cflags`
  19. gcc foobar.o -o foobar `caca-config --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.