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

31 行
885 B

  1. #! /bin/sh
  2. ## Kernel-mode libcaca compilation script -- Sam Hocevar <sam@zoy.org>
  3. ## $Id: build-dos 333 2006-03-07 12:39:34Z sam $
  4. set -x
  5. set -e
  6. CFLAGS="-fno-builtin -O2 -I. -I.. -Wall"
  7. CPPFLAGS="-D__KERNEL__ -nostdinc -include kernel/kernel.h"
  8. LDFLAGS="-nostdlib -Wl,-N -Wl,-Ttext -Wl,100000"
  9. ./configure --disable-slang --disable-ncurses --disable-win32 \
  10. --disable-conio --disable-x11 --disable-gl --disable-network \
  11. --enable-vga --disable-imlib2 --disable-doc \
  12. --host i386
  13. (cd cucul && make)
  14. (cd caca && make)
  15. (cd src && make cacafire-aafire.o)
  16. (cd kernel &&
  17. gcc $CFLAGS -c multiboot.S -o multiboot.o
  18. gcc $CFLAGS $CPPFLAGS -c kernel.c -o kernel.o)
  19. gcc $LDFLAGS -o src/cacafire kernel/multiboot.o kernel/kernel.o src/cacafire-aafire.o caca/.libs/libcaca.a cucul/.libs/libcucul.a
  20. objcopy -O binary src/cacafire cacafire.boot