How to use linux path in eclipse cdt?

空扰寡人 提交于 2019-12-24 11:29:32

问题


I wrote in my Makefile:

GCC := i386-elf-gcc

and use it to build my project.

But when I click my 'build' button, the eclipse cdt console gets an error:

make all 
make: i386-elf-gcc: No such file or directory
make: *** [boot/bootmain.o] Error 1

I use mac os. and the path of i386-elf-gcc:

zsh> which i386-elf-gcc                                           
/usr/local/bin/i386-elf-gcc

In my /etc/paths there has /usr/local/bin. So I wonder how to fix this problem?? Thank you!

来源:https://stackoverflow.com/questions/42404405/how-to-use-linux-path-in-eclipse-cdt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!