y86源码编译通过
时间:2009-06-09 来源:bsdc
Linux下编译y86源码需要安装tk/tcl,同时修改Makefile
如下:
红色部分为需要添加的。我在ubuntu 9.04(Linux L3A8232 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 GNU/Linux
)上编译链接通过。
==================================================
TKLIBS=-L/usr/local/lib -ltk8.5 -ltcl8.5 -lpthread -ldl -lX11 -lXft -lXss
# Modify the following line so that gcc can find the tcl.h and tk.h
# header files on your system. Comment this out if you don't have
# Tcl/Tk.
TKINC=-I/usr/local/include -I/usr/include/tcl8.5
==================================================
如图,一个cpu模拟器诞生了,真是很强大,可以单步调试,和insight一样,变化了高亮。
500)this.width=500;" border="0">
如下:
红色部分为需要添加的。我在ubuntu 9.04(Linux L3A8232 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 GNU/Linux
)上编译链接通过。
==================================================
TKLIBS=-L/usr/local/lib -ltk8.5 -ltcl8.5 -lpthread -ldl -lX11 -lXft -lXss
# Modify the following line so that gcc can find the tcl.h and tk.h
# header files on your system. Comment this out if you don't have
# Tcl/Tk.
TKINC=-I/usr/local/include -I/usr/include/tcl8.5
==================================================
如图,一个cpu模拟器诞生了,真是很强大,可以单步调试,和insight一样,变化了高亮。
500)this.width=500;" border="0">
相关阅读 更多 +