zoukankan      html  css  js  c++  java
  • 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 file rc//sysc/kernel/sc_cor_qt.cpp

  • 相关阅读:
    Python学习笔记(10):异常
    SharePoint中RichTextBox的Required验证
    Python学习笔记(6):模块
    Python学习笔记(4):控制流
    Python学习笔记(5):函数
    解决SharePoint中GridView导出Excel按钮的问题
    Python学习笔记(8):面向对象
    如何在SharePoint中创建Custom Master Page
    main cannot be resolved or is not a field
    c# 格式化输出字符串
  • 原文地址:https://www.cnblogs.com/wangfengju/p/6172307.html
Copyright © 2011-2022 走看看