I’m trying to build a project with a specific compiler in Eclipse, and I’m using a Makefile to do the dirty work — only problem is that it seems as if Eclipse doesn’t share the same paths as my bash sessions. I’ve set .bash_profile and .profile (apparently Mac likes .profile just as much as .bash_profile), but neither of the exports that I’ve included are getting picked up. Do I need to manually set some symlinks in my /usr/bin or something like that? Or is there a way to manually set paths in eclipse?
Share
This is because
.bash_profileand.profileare read bybashwhen session is started. So you need to change the build command tobash -l -c "make".