[R] Installing R on RedHat7.0

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Nov 6 11:36:18 CET 2000


Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:

> Not so easy to do automatically when a user can specify any compiler as CC
> and any flags as CFLAGS. And people do: I build installed versions
> without debugging information for example.

Hmm. With gcc, you can specify -O0 which cancels any previous -O
options, so it seems to work to insert the following rule in
src/appl/Makefile

machar.o: machar.c
        $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -O0 -c $< -o $@

Does that break badly with other compilers?

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



More information about the R-help mailing list