在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1463|回复: 2

[原创] 破解 This platform is not supported... encounter

[复制链接]
发表于 2022-4-11 12:25:14 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 dodoee 于 2022-4-11 18:25 编辑

如何破解有关This platform is not supported by ...
MC是memory compiler
[jude@hi mem]$ ./MC
Error : This platform is not supported by ... MC
MC support OS list :
    SunOS 5.7
    SunOS 5.8
...
    Linux RHEL3 x86_64 (2.4.21-37.EL x86_64)
    Linux RHEL4 x86_64 (2.6.9-78.EL x86_64)
   
   文本编辑器打开  MC, 查找Linux RHEL4 x86_64
  MC 文件内容如下:
   #!/bin/csh -f

####----get MC options
set MC_OPTIONS = "$*"

####----use uname to set OS
if( -x /bin/uname ) then
    set uplat = (`/bin/uname -s`)
    set uvers = (`/bin/uname -rm`)
else if ( -x /usr/bin/uname ) then
    set uplat = (`/usr/bin/uname -s`)
    set uvers = (`/usr/bin/uname -rm`)
endif

#echo $uplat
#echo $uvers
####----case uname -s and uname -rm to set run platform
switch ("$uplat")
    case SunOS:
        switch ("$uvers")
            case 5.7*sun4*:
                set arch = SunOS57
                breaksw
            case 5.8*sun4*:
                set arch = SunOS58
                breaksw
            case 5.9*sun4*:
                set arch = SunOS59
                breaksw
            default:
                set arch = unsupport
                breaksw
        endsw
        breaksw
    case Linux:
        switch ("$uvers")
            case 2.4.21-37.EL*x86_64:
                set arch = RHEL3_x86_64
                breaksw
            #case 2.6.9-78.EL*x86_64:
            上面这一句是判断当前的OS版本是否为2.6.9-78.EL*x86_64,
            在终端中运行uname -rm 可得到我的OS版本为3.10.0-693.5.2.el7*x86_64,
            因此屏蔽上面的,加入下面这句,则会判断成功。

            case 3.10.0-693.5.2.el7*x86_64:
                set arch = RHEL4_x86_64
                breaksw
            default:
                set arch = unsupport
                breaksw
        endsw
        breaksw
    default:
        set arch = unsupport
        breaksw
endsw

很多IC 软件都会报这个错, 我遇到的有encounter ,也是找到对应的判断linux 版本号的代码,
进行修改就可以了。

 楼主| 发表于 2022-4-11 12:32:58 | 显示全部楼层
有的可能是其他shell 或脚本, 判断linux 版本号的代码都差不多,找到然后修改一下就可以了。
发表于 2022-4-24 09:59:49 | 显示全部楼层
Thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-9 11:18 , Processed in 0.016943 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表