TI中文支持网
TI专业的中文技术问题搜集分享网站

IBL的编译方法

我按照mcsdk_2_01_02_06\tools\boot_loader\ibl\doc\build_instructions.txt中的方法编译IBL,已经安装好了MinGW,步骤中说

“Modify the environment setup script to match the tool chain installation

directory”

指的是把setupenvMsys.sh中的路径改为MinGW的路径吗?

谢谢!

————————————————————————————————————————————

我将路径修改为:

# Specify the base directory of the c6000 compiler with UNIX style path separator

export C6X_BASE_DIR='"E:\sunx\Ti\ccsv5\tools\compiler\c6000_7.4.1"'

# Specify the base directory of the c6000 compiler in format understandable by the MSYS Bash shellexport C6X_BASE_DIR_MSYS=/e/sunx/Ti/ccsv5/tools/compiler/c6000_7.4.1

# Don't modify the below variables. They are derived from the above definitionsexport PATH=$PATH:$C6X_BASE_DIR_MSYS/bin
export TOOLSC6X=$C6X_BASE_DIR
export TOOLSC6XDOS=$C6X_BASE_DIR

但编译时还是显示 cl6x: Command not found

请问是我修改的不正确吗?

yuanwen dong:

首先你得脚本里面“/" 都应用"/"。

有个简单方法,你可以把编译器路径加到windows的全局环境变量path路径中。

path

“E:/sunx/Ti/ccsv5/tools/compiler/c6000_7.4.1/“

然后在Dos下,敲cl6x能找到命令,然后你到MinGW或Cygwin下编译。

Br

William.dong@enea.com

赞(0)
未经允许不得转载:TI中文支持网 » IBL的编译方法
分享到: 更多 (0)