Skip to content
Back to formatted view

Raw Message

Message-ID: <4762B1F0.8050900@stats.uwo.ca>
Date: 2007-12-14T16:40:16Z
From: Duncan Murdoch
Subject: windows rtools missing gfortran.exe?
In-Reply-To: <307b90470712140723vfbc8dccka6c89e3c488565bc@mail.gmail.com>

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