[GRASSLIST:4125] Re: make.rules variables

Glynn Clements glynn.clements at virgin.net
Mon Jul 22 17:35:14 EDT 2002


andres javier garcia garcia wrote:

> I've compiled an aditional module in a computer with no problem. After that, 
> I've tried to do the same in other computer but the process fails.
> I've realized that in the make.rules files thre is the following:
> FC =
> While in the computer in which the compiling has gone right, this same 
> variable is
> FC = g77
> I've tried to add this by hand (and several other things), but, when I 
> compile, the variable is erasen again.
> I've checked that the fortran compiler is correctly installed and works.
> So, the only thing that I can imagine is that these variables are originally 
> read in other part.
> Am I right?
> Please, help. How can I solve this?

The "make.rules" files are automatically generated from the
corresponding Gmakefile and the files in src/CMD, specifically
src/CMD/head/head.<arch>.

The configure script generates src/CMD/head/head, which is renamed to
src/CMD/head/head.<arch> at the start of the build process.

If the definition of FC is empty, then the configure script didn't
detect the fortran compiler; it checks for a program called g77 or f77
in the path.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list