Re: R-beta: R-beta makefile

Guido Masarotto (guido@sirio.stat.unipd.it)
Sun, 14 Jun 1998 11:52:28 +0100


Date: Sun, 14 Jun 1998 11:52:28 +0100
From: Guido Masarotto <guido@sirio.stat.unipd.it>
To: r-help@stat.math.ethz.ch
Subject: Re: R-beta: R-beta makefile
In-Reply-To: <2$W9vCAyTnf1EwBS@dsteele.demon.co.uk>; from Douglas Steele on Wed, Jun 10, 1998 at 12:58:42PM +0100

On Wed, Jun 10, 1998 at 12:58:42PM +0100, Douglas Steele wrote:
> Hi,
> 
> I am not sure if the last email worked: seemed to be a problem at the r-
> list end
Your email worked but I was in Tuscany (between Florence and Siena) 
for some days.

> 
> In message <19980609204035.A2000@sirio.stat.unipd.it>, Guido Masarotto
> <guido@sirio.stat.unipd.it> writes
> >Have you downloaded and uncompressed the R sources? rw0613s.zip
> Thats fixed one problem :)
> 
> make now runs OK and builds R.a (1,127KB), and almost finishes but fails
> at line for resource compiler
> 
> windres -i wincons.rc -o res.o
> 
> 
> (lots of scrolling on screen then ends with)
> MdiAccel ACCELERATORS
> BEGIN
>  (88) , 109 ,VIRTKEY, ALT
> END
> 
> C:\MINGW32\BIN\WINDRES.EXE: no resources
> make.exe: *** [res.o] Error 1
> [exited with 2]
> 
 I cannot reproduce this error. Under Win95, "windres ...." works
 without any problems. Anyway, it seems that your cpp (the C pre-processor)
 has some problem to communicate to windres. Infact:
 a) the last lines that you see "MdiAccel ...." are the last lines
    of wincons.rc pre-processed by cpp (VK_X -> (88), RRR_PASTE -> 109).
    This should not appears on the screen but should be piped (I suppose
    via a temporary file) to windres.
 b) on the contrary, a possible interpretation of the last message
    is that windres dosn't get anything.
 Now, when I downloaded egcs-mingw32-1.02, the C pre-processor was
 broken under Win95 (it didn't find any include files). So I replace
 it with the one from egcs-mingw32-1.00. And this seems to work.
 In the meantime, I have seen that Mumit Khan has tryed to fix the problem:
 a new cpp is available at
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/releases/fixes/).
 If you haven't already done, I suppose that you have to download it.
 If you will have no luck, you can try with the cpp in egcs-mingw32-1.00.
 If you want to avoid to download all the distribution (some megas) I can 
 make it  available.
> 
> 
> Am I missing any other files by any chance ?
> 
> eg
> I have the compiler
> ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/releases/egcs-
> 1.0-2-mingw32.zip
> 
> 
> but I do not have
> http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/windows32api-
> 980118.zip
> 
  The egcs-mingw32 distribution is self contained. In particular, it
  contains also the Gnu Windows api.
  
  guido m.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._