⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 一个操作系统的源码部分
💻 BAT
字号:
set path=d:\Dev-Cpp\bin

nasm -f elf shell\head.s             -o  shell\head.o
nasm -f elf shell\font.s             -o  shell\font.o

gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/main.c     -o shell/main.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/unistd.c   -o shell/unistd.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/stdio.c    -o shell/stdio.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/gui.c      -o shell/gui.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/queue.c    -o shell/queue.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/vsprintf.c -o shell/vsprintf.o



cd shell
make
objcopy -R .note -R .comment -S -O binary test.o SHELLER.sys
del *.o
cd..
copy shell\SHELLER.sys

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -