This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138_LCDK_Linux_SDK 工具链设置疑问?



各位好:

        在设置工具链的时候,有这样的地方:首先执行  -host $ export TI_SDK_PATH=/home/user/SDKs/ti-sdk-omapl138-lcdk-01.00.00  ,然后执行  -host $ source linux-devkit/environment-setup   。这两句执行完毕后终端即可进入  [linux-devkit]:~/  状态,在这个状态下可以通过输入  host $ arm-arago-linux-gnueabi-gcc --version  得到 gcc 版本并使用gcc编译c文件。但是我重启ubuntu,或者我退出刚刚的  [linux-devkit]:~/  状态  返回原来的  host $ 状态后又无法找到gcc命令。

疑问一:这种情况是由于添加gcc环境变量失败还是说需要在每次重启电脑和编译程序文本时都执行最开始的两句命令进入 [linux-devkit]:~/  状态呢?

疑问二:使用gcc必须是在终端处于 [linux-devkit]:~/  状态下才行吗?