[Rd] windows rtools missing gfortran.exe?

Hiroyuki Kawakatsu hkawakat at gmail.com
Fri Dec 14 16:23:44 CET 2007


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

-- 
----------------------------------
Hiroyuki Kawakatsu
Business School
Dublin City University
Dublin 9, Ireland
Tel +353 (0)1 700 7496



More information about the R-devel mailing list