R-alpha: Compiling R with Microsoft Visual C++

Peter Dalgaard BSA p.dalgaard@kubism.ku.dk
07 Oct 1997 17:46:17 +0200


Rob Creecy <rcreecy@census.gov> writes:

> 
> I tried compiling R-0.50-a4 with Microsoft Visual C++ 5.0  on Windows NT
> 4.2
> and have some problems.

...

> If a working makefile could be made available it might give me some
> clues
> about how to proceed.
> 
> Any suggestions?

Um, "keep up the good work"? ;^)

Seriously, the current situation is that Robert Gentleman knows how to
compile the code with Watcom C, and that's about it. The rest of us
(with the possible exception of Thomas Lumley) are old Unixers,
utterly perplexed at the Microsoft Programming Universe in general,
and the so-called "user-friendly" Windows development environments in
particular. I got about as far as you when I tried, only more clueless
as to Visual C++ itself. 

So you are essentially on your own, but whatever progress you make
will be greatly appreciated, because the situation is certainly not
very desirable.

One hint, though: Try copying the include files to Unix and use grep
and gcc -E to figure out what is needed from which include files.

In the longer run, we need to set up the possibility of compiling with
several PC compilers, preferably freeware ones, too. Maybe even
crosscompiling from Unix and using a portable GUI library (dream on,
Peter...). I'm having my eyes rather strongly set on the RSXNT
compiler setup, or Gnuwin32, but the latter is a bit large. At the
moment, I'm all engaged in my course in Basic Statistics for Medical
Researchers, though, so I'm not likely to get any further until
December, unless I get a sudden strike of inspiration.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-