0

A colleague got a new mac, and he codes with Eclipse and gfortran. And Makefiles. But now he cannot build.

I figured that Eclipse does not use the same PATH as shell, so while Eclipse is happy to build with a makefile, it cannot find gfortran. (The Makefile works fine when ran form the mac terminal.)

Eclipse can build, if I put the full path in the Makefile (FC=/usr/local/bin/gfortran). But this is extra nuisance when other people use Ubuntu where gfortran has a different path.

Question: How/where to configure Eclipse (Juno) so that it can find gfortran? (I could not find, I tried.)

4

1 回答 1

1

为什么不直接使用 Photran。它基于 Eclipse 并为 Fortran 设置。

于 2013-03-28T06:10:18.757 回答