All pastes #16591 Raw Edit

icez

public shellscript v1 · immutable
#16591 ·published 2005-07-01 03:17 UTC
rendered paste body
#!/bin/shecho "   RM    kernel/*.o" && rm kernel/*.oecho "   RM    kernel.elf" && rm kernel.elffor i in kernel/*.cdo        echo "   CC    "`echo $i | sed s/kernel// | sed s/\c$/\o/`        gcc -O2 -Wall -fno-builtin -nostartfiles -nostdlib -I./include \        -c $i -o $(echo `echo $i | sed s/\.c/\.o/`)doneecho -e "   LD    kernel/*"ld misc/multiboot.o kernel/*.o -o kernel.elf -Ttext 100000echo -e "\nBuild complete.\nMount misc/dash.img and copy kernel."