Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] automatic makefile wants to use m2c to compile .mod files

Hello everybody,

I currently try to use Photran on a Linux cluster with the intel or gfortran compilers. After a first pass of compilation by ifort (and creation of .mod files with modules inside signaled by a green disk and a white M inside in the Fortran project pane) the make stops with the following problem concerning a kinds.mod file created from one of my source files:
m2c    -o kinds.o kinds.mod
make: m2c: Command not found
make: *** [kinds.o] Error 127
make: Target `all' not remade because of errors.

Browsing internet I discovered that m2c is supposed to translate Modula2 files in C.

=> what shall I do to prevent photran/cdt from trying to compile these .mod files ?

--

Sincerely yours,

Michel DEVEL


Back to the top