2013-03-06 8 views
0

GCC 컴파일러를 발견하지만, 오류가 발생하지 :숭고한 텍스트 내가 숭고한 텍스트 2에서 확인 실행하기 위해 노력하고있어

make: arm-none-eabi-gcc: No such file or directory 

를이는 내가 터미널에서 실행하면, 모든 것이 잘 작동, 숭고한 텍스트에서 발생합니다.

I

export PATH="~/arm-cs-tools/bin:$PATH" 

로 설정 .bash_profile을가했습니다 없습니다 ...하지만 여전히 할 수 있습니까? $ PATH 환경 변수를 해결하기 위해 ST를 어떻게 얻을 수 있습니까? unofficial Sublime Documentation에서

답변

1

:이 문서는 v1과 동안 사용되지 않는 것을

On some operating systems, the value for PATH will vary from a terminal window to a graphical application. Thus, even if the command you are using in your build system works in the command line, it may not work from Sublime Text. This is due to user profiles in shells.

To solve this issue, make sure you set the desired PATH so that graphical applications such as Sublime Text can find it. See the links below for more information.

Alternatively, you can use the path element in .sublime-build files to override the PATH > used to locate the executable specified in cmd. This new value for PATH will only be in effect for as long as your build system is running. After that, the old PATH will be restored.

주,이 구절이 직접 here

그래서 당신이에서 사용자 지정 경로를 정의 할 수 있어야한다 공식 문서 참조 .sublime-build 파일. path 옵션을 사용합니다

+0

나는 Sublime Text의 Makefile 빌드 시스템 용 .sublime-build 파일을 편집했습니다. –

관련 문제