Chinaunix首页 | 论坛 | 博客
  • 博客访问: 359917
  • 博文数量: 66
  • 博客积分: 3201
  • 博客等级: 中校
  • 技术积分: 695
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-04 11:17
文章分类

全部博文(66)

文章存档

2016年(1)

2014年(1)

2012年(1)

2011年(2)

2010年(18)

2009年(42)

2008年(1)

分类: LINUX

2009-06-09 17:51:18

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一样,变化了高亮。


阅读(808) | 评论(3) | 转发(0) |
0

上一篇:gcc -S分析

下一篇:[ADG笔记1]ARM处理器基础

给主人留下些什么吧!~~

bsdc2009-09-03 16:26:23

ii tklib 0.4.1-20080501-1 the standard Tk Library ii tcllib 1.10-dfsg-3 the Standard Tcl Library

bsdc2009-09-03 16:25:13

不好意思,最近一直在用Windows,没法看我装了什么。 ii itcl3 3.2.1-5 [incr Tcl] OOP extension for Tcl - run-time files ii tcl-tls 1.5.0.dfsg-9 the TLS OpenSSL extension to Tcl ii tcl8.4 8.4.19-2 Tcl (the Tool Command Language) v8.4 - run-time files ii tcl8.5

renzhenmac2009-08-20 13:12:15

你的tcl/tk都安装了哪几个包啊? 是tcl8.5, tk8.5, tcl8.5-dev, tk8.5-dev这四个吗? 我只能安装前三个,tk8.5-dev装不上,结果哪都找不到libtcl.so, libtk.so, tcl.h, tk.h 这四个文件