This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Error trying to exec cc1d...
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: adconrad at ubuntu dot com, doko at ubuntu dot com, ubuntu-devel-discuss at lists dot ubuntu dot com
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 25 Aug 2012 22:46:30 +0200 (CEST)
- Subject: 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