Skip to content

(no subject)

3 messages · usenet@s-boehringer.de, Brian Ripley, Peter Dalgaard

#
Dear all,

just a little problem report for R 2.2.0 on OpenSuse 10.0-64. Gcc version is 4.0.2
Installing fortran packages runs into: 'cc1' command not found.
I apparently got away with:
sudo ln -s /usr/bin/cc /usr/bin/cc1
which causes other warnings but the packages seem to function well. Obviously cc1 does no longer exist in gcc 4.0.2.

Stefan
#
In what sense is this a problem report for R?  R does not know about
cc1, unless some user told it to use it.

cc1 is an internal part of gcc (the C front-end), usually found in

/usr/libexec/gcc/i686-pc-linux-gnu/4.0.2

or some such path. As my path shows, it is part of gcc 4.0.2, so this 
looks like a error in your compiler installation.  It is not to do 
with Fortran, whose front-end is f951 in the same directory.
On Tue, 15 Nov 2005, usenet at s-boehringer.de wrote:

            

  
    
#
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
Could still be Fortran. Apparently upgrading SUSE to 10.0 will upgrade
the C compiler to gcc-4.x and g77 to compat-g77-3.x and you need an
explicit install of gfortran, aka gcc-fortran. Mixing 3.x and 4.x
compilers won't work. I haven't seen the cc1 symptom though.