This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error trying to exec cc1d...



For the sake of completeness I want to flag the following problem found building some more complex software on GNU Linux Kubuntu 12.04 + gfortran 4.6.3.


I have reduced it to the this simple test case (the tar ball contains the needed files):

$ cat foo.F
      subroutine foo(i,lo)
      implicit none
      integer i
      logical lo
      call foo_b(i,lo)
      end

$ echo "# DO NOT DELETE THIS LINE - used by make depend" > foo.d

$ gfortran -c foo.d foo.F
gfortran: error trying to exec 'cc1d': execvp: File o directory does not exist


The error occurs only on Kubuntu.

On Fedora 16 and Mac OS X (+Macports), with the same GCC version, 4.6.3, there is only a warning (which does not break the build for the true software):

$ gfortran -c foo.d foo.F
gfortran: warning: foo.d: linker input file unused because linking not done


Any idea about the failure on Kubuntu?


Thanks, Angelo.

Attachment: cc1d_error.tar.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]