quark-zju / ljudge

a backend tool for an online judge system
Other
66 stars 15 forks source link

nasm.sh是什么 #20

Open YuTaoFighting opened 4 years ago

YuTaoFighting commented 4 years ago

nasm.sh是什么

quark-zju commented 4 years ago

cc @richard1122: 你知道在 6725a250afab4d146660a35a9eb950b8e6fa555e 加入的 nasm.sh 具体内容吗?

richard1122 commented 4 years ago

应该是打在了现在 pintia judger 的基础镜像里,看起来没开源。 cc @reAsOn2010

richard1122 commented 4 years ago

cc @senorsen

Senorsen commented 3 years ago

@richard1122 没找到这个 nasm.sh ,这个是不是临时测试用的 shell 忘记删了?

richard1122 commented 3 years ago

@Senorsen 应该是在基础镜像里面

Senorsen commented 3 years ago

找到了,

#!/bin/sh
nasm -f elf32 $1 && gcc -m32 -o $2 a.o