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]

Re: Error trying to exec cc1d...


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.


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