|
|
@@ -9,10 +9,10 @@ set -e |
|
|
|
CFLAGS="-fno-builtin -O0 -I. -I.. -I../caca/ -Wall -D__KERNEL__ -fno-stack-protector -m32" |
|
|
|
LDFLAGS="-nostdlib -Wl,-N -Wl,-Ttext -Wl,100000" |
|
|
|
|
|
|
|
#./configure --disable-slang --disable-ncurses --disable-win32 \ |
|
|
|
# --disable-conio --disable-x11 --disable-gl --disable-network \ |
|
|
|
# --enable-vga --disable-imlib2 --disable-doc \ |
|
|
|
# --host i386 |
|
|
|
./configure --disable-slang --disable-ncurses --disable-win32 \ |
|
|
|
--disable-conio --disable-x11 --disable-gl --disable-network \ |
|
|
|
--enable-vga --disable-imlib2 --disable-doc \ |
|
|
|
--host i386 |
|
|
|
|
|
|
|
# Compile cacademo, leave it as an object |
|
|
|
cd caca && make && cd .. |
|
|
@@ -63,4 +63,5 @@ ls -ail kern.bin |
|
|
|
cd .. |
|
|
|
|
|
|
|
# Copy bootsector at the very beginning of the floppy (first sector/512 bytes of the image), then kernel right after |
|
|
|
cat kernel/bootsect.bin kernel/kern.bin /dev/zero | dd of=cacademo.img bs=512 count=2500 |
|
|
|
cat kernel/bootsect.bin kernel/kern.bin /dev/zero | dd of=cacademo.img bs=512 count=2500 |
|
|
|
|