This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Error trying to exec cc1d...
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- Cc: adconrad at ubuntu dot com, doko at ubuntu dot com, ubuntu-devel-discuss at lists dot ubuntu dot com, fortran at gcc dot gnu dot org
- Date: Sat, 25 Aug 2012 13:48:32 -0700
- Subject: Re: Error trying to exec cc1d...
- References: <alpine.LRH.2.00.1208252227200.5114@login2.roma1.infn.it>
On Sat, Aug 25, 2012 at 1:46 PM, Angelo Graziosi
<Angelo.Graziosi@roma1.infn.it> wrote:
>
> 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.
Yes cc1d is the D compiler. It looks like you don't have the D
compiler installed.
Thanks,
Andrew
>
> 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.