sc
来自「A simple C compiler source code.」· 代码 · 共 40 行
TXT
40 行
# -------------------------------------------# Simple C - Release 0.1.1# Compile, assemble, link wrapper script# -------------------------------------------if [ $1 ]; then scc $1.c nasm -f elf $1.asmfiif [ $2 ]; then scc $2.c nasm -f elf $2.asmfiif [ $3 ]; then scc $3.c nasm -f elf $3.asmfiif [ $4 ]; then scc $4.c nasm -f elf $4.asmfiif [ $5 ]; then scc $5.c nasm -f elf $5.asmfiif [ $5 ]; then sld $1.o $2.o $3.o $4.o $5.oelif [ $4 ]; then sld $1.o $2.o $3.o $4.oelif [ $3 ]; then sld $1.o $2.o $3.oelif [ $2 ]; then sld $1.o $2.oelif [ $1 ]; then sld $1.ofirm *.o *.asmmv a.out $1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?