2007-01-07

让lua在sco下编译

关键字: lua cc 编译 sco
将lua/Makefile中的
PLATS= aix ansi bsd generic linux macosx mingw posix solaris

改为
PLATS= sco aix ansi bsd generic linux macosx mingw posix solaris


将lua/src/Makefile中的
PLATS= aix ansi bsd generic linux macosx mingw posix solaris
...
none:
	@echo "Please choose a platform: $(PLATS)"

改为
PLATS= sco aix ansi bsd generic linux macosx mingw posix solaris
...
none:
	@echo "Please choose a platform: $(PLATS)"
sco:
        $(MAKE) all CC="cc" CFLAGS="-O2" RANLIB=""


编译时执行命令:
make sco
make sco test
评论
发表评论

您还没有登录,请登录后发表评论

jxb8901
搜索本博客
最近加入圈子
存档
最新评论