`
saybody
  • 浏览: 869255 次
  • 性别: Icon_minigender_2
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

port systemc to mac os x

阅读更多

很遗憾,systemc官方提供的SDK并不能直接在 mac os x 下用 gcc编译链接。

需要做如下 修改 :

1、为configure添加编译环境支持,简单的说,就是修改config/config.sub,加入i686-apple-darwin10编译环境。不同操作系统版本下,这个字串从/usr/bin/*-*-*-gcc-*中可以看出;关键语句如下:

3、在configure、configure.in脚本中添加i686-apple-darwin10的编译器配置:

并修改一个“硬编码”问题:am__api_version="1.6",将1.6修改为aclocal的实际版本号。

2、add #include <sys/typedef.h> in filerc//sysc/kernel/sc_cor_qt.cpp

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics