[Rd] windows rtools missing gfortran.exe?

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 14 17:40:16 CET 2007


On 12/14/2007 10:23 AM, Hiroyuki Kawakatsu wrote:
> Hi,
> 
> I replaced my Rtools today as posted at
> http://www.murdoch-sutherland.com/Rtools/Rtools.exe
> 
> 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[4]: gfortran: Command not found
> make[4]: *** [ch2inv.o] Error 127
> make[3]: *** [rlibs] Error 2
> make[2]: *** [../../bin/R.dll] Error 2
> make[1]: *** [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.

Duncan Murdoch



More information about the R-devel mailing list