안녕하세요.왕초보 질문입니다.
Sourcery G++ Lite를
/home/CodeSourcery에 설치하고.
.bashrc에 PATH=$PATH:/home/CodeSourcery/Sourcery_G++_Lite/bin
export PATH
이렇게 설정했습니다.
그 다음에 재시작하구요.
arm-none-linux-gnueabi-gcc --version 을 입력하면 올바르게 설치된 버전의 정보가 출력됩니다.
그리고 작은 샘플프로그램(hello,world)도 컴파일됩니다.
하지만 toolchain에 관련된 makefile에서 make,distclean,make config omap3530beagle_config
이후 make에서 다음과 같은 오류메시지가 출력됩니다.
arm-none-linux-gnueabi-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -D__KERNEL__ -DTEXT_BASE=0x40200800 -I/home/elogics/x-load/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv7a -mabi=apcs-gnu -c -o cpu/omap3/start.o /home/elogics/x-load/cpu/omap3/start.S
make: arm-none-linux-gnueabi-gcc: Command not found
make: *** [cpu/omap3/start.o] Error 127
즉 make에서는 gcc의 위치가 올바르게 인식되지 않고 명령행에서만 된다는 것인데
그러면 Makefile을 변경해 줘야 하나요?
감사합니다.