[R] choosing g/g++ compiler executable in R CMD SHLIB

Faheem Mitha faheem at email.unc.edu
Sat Nov 17 18:27:44 CET 2001


Dear People,

After considerable effort, I managed to install gcc-3.0 on my Debian
system. However, Debian keeps gcc-2.95 around as the default compiler, and
gcc, g++ point to the 2.95 version. The 3.0 versions need to be explicitly
invoked as gcc-3.0, g++-3.0 etc. How can I get R CMD SHLIB to invoke
gcc-3.0 instead of gcc and g++-3.0 instead of g++? I would like this to be
done by default but only for R. That is, I would like everything except R
CMD SHLIB to call the 2.95 versions by default, but have R CMD SHLIB to
call the 3.0 versions by default.

I didn't see this issue addressed in "Writing R Extensions". Is there a
way to do this?

                                  Sincerely, Faheem Mitha.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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