fp.compile

来自「minix操作系统最新版本(3.1.1)的源代码」· COMPILE 代码 · 共 20 行

COMPILE
20
字号
#!/bin/sh#							Author: Kees J. Bot# Compile one soft FP source file.# (These files shouldn't be optimized normally, but the 16-bit C compiler# only optimizes scratch register allocation a bit with -O.  To the 32-bit# compiler -O is a no-op.)case $#:$1 in1:*.fc)	;;*)	echo "$0: $1: not a FC file" >&2; exit 1esacbase="`basename "$1" .fc`"trap 'rm -f tmp.c tmp.s"; exit 1' 2cp "$1" tmp.c &&cc -O -I. -D_MINIX -D_POSIX_SOURCE -S tmp.c &&sed -f FP.script tmp.s > "$base.s" &&rm tmp.c tmp.s

⌨️ 快捷键说明

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