Problem in "configure" for Solaris (cc) ?!
Martin Maechler
Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 18 Aug 1998 15:13:46 +0200
[[0.62.3, already 0.62.2]]
This bug report is overdue,
but I really didn't test these things for weeks
(have always used gcc, but only yesterday, someone told me that he saw a
speed gain of a factor 2 when using Sun's cc over gcc)
I just found that the same problem is already in 0.62.2
If I take yesterday's
R-release.tar.gz (or also R-0.62.2.tar.gz)
unpack
and add
CC=cc
-----
to config.site,
then
./configure
-----------
it ends VERY badly:
% ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/local/bin/ginstall -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for ar... ar
checking for ratfor... ratfor
checking for latex... /afs/ethz.ch/public/teTeX/teTeX/bin/sparc-solaris2.5/latex
checking for dvips... /afs/ethz.ch/public/teTeX/teTeX/bin/sparc-solaris2.5/dvips
checking for perl... /usr/local/bin/perl
checking whether perl is perl 5... yes
checking for cc... cc
checking for ranlib... (cached) ranlib
checking for f77... f77
checking for underscore after Fortran symbols... configure: error: Nothing worked - cannot use FORTRAN
-----------
and then STOP, nothing, ....
When I omit the "CC=cc", gcc is used (together with f77), and all is well.
% cc -V
cc: SC3.0.1 13 Jul 1994
usage: cc [ options] files. Use 'cc -flags' for details
% f77 -V
f77: SC3.0.1 13 Jul 1994
Usage: f77 [ options ] files. Use 'f77 -flags' for details
% uname -a
SunOS florence 5.5 Generic sun4u sparc SUNW,Ultra-1
------------------------------------------------
So yes, the SC.. compilers are somewhat dated, but still...
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._