[Rd] windows rtools missing gfortran.exe?
murdoch at stats.uwo.ca
Fri Dec 14 17:40:16 CET 2007
On 12/14/2007 10:23 AM, Hiroyuki Kawakatsu wrote:
> I replaced my Rtools today as posted at
> Trying to build R-devel_2007-12-13.tar.gz without modifying MkRules
> gives the gfortran command not found error below. I am wondering if
> gfortran.exe is missing from (recent?) Rtools.exe or I am doing
> something wrong.
> Thanks to hints at Duncan's site, I worked around the error by adding
> "GCC4_SUFF=-sjlj" in MkRules (below the == end of user-customizable
> parts == line).
> gcc -std=gnu99 -I../include -DHAVE_CONFIG_H -DR_DLL_BUILD -O3 -Wall -pedantic
> -c zeroin.c -o zeroin.o
> gfortran -O3 -c ch2inv.f -o ch2inv.o
> make: gfortran: Command not found
> make: *** [ch2inv.o] Error 127
> make: *** [rlibs] Error 2
> make: *** [../../bin/R.dll] Error 2
> make: *** [rbuild] Error 2
> make: *** [all] Error 2
It's supposed to be in there; I'm just downloading a copy myself to
verify... You're right! Somehow Rtools.exe got linked to Rtools26.exe,
instead of the new one. Now fixed.
More information about the R-devel