R-beta: R-beta makefile

Douglas Steele (Douglas@dsteele.demon.co.uk)
Tue, 9 Jun 1998 18:57:16 +0100

Date: Tue, 9 Jun 1998 18:57:16 +0100
To: Guido Masarotto <guido@sirio.stat.unipd.it>, r-help@stat.math.ethz.ch
From: Douglas Steele <Douglas@dsteele.demon.co.uk>
Subject: R-beta: R-beta makefile
In-Reply-To: <19980609085310.A248@sirio.stat.unipd.it>

>This mean that the specs file of Cygnus gcc is different from the
>mingw32 one.
OK thanks
(I added main() {} as per FAQ and I got the dynload to build a dll ok)

I am also interested in building the R sources as per your descriptions.
To simplify things, I have removed b18 cygwin and have now installed
egcs-mingw32 with your djtools as recommended.

Everything seems to work OK; tools that are present run faster, and I
can still build the dynaload dll example.

However, on going to (/R-0.61.3/src/gnuwin32)$
and typing "make" I get:

*** No rule to make target `../appl/ROUTINES', needed by
`../include/FFDecl.h'.  Stop.
[exited with 2]

(This was the same error I got under the origional b18 setup)

Do these directories exist (and does FFDecl.h exist) ?
The reason I ask is because in MakeDLL (for example) there are the lines

include ../../../gnuwin32/MkRule
DLLLIBS=-L../../../gnuwin32 -l_iR -lf2c

which seem to refer to directories on the wrong path
(ie why ../../../)

Douglas Steele
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch