[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#545461: make: Implicit rule for .f files generate a f77 invocation.



reassign 545461 gfortran
thanks

On Mon, Sep 07 2009, Jörgen Tegnér wrote:

> Since gfortran doesn't create a symlink from gfortran to f77 implicit rules
> for fortran doesn't work. Example output below 

> $ make
> f77   -c -o rmatvec.o rmatvec.f
> make: f77: Command not found
> make: *** [rmatvec.o] Error 127

> Possibly the correct fix is to make gfortran create the symlink
> instead of changing make.

        This is probably a better solution, since it also
 handles Makefiles where f77 is explicitly spelled out. Also, adding a
 symlink to f77 is a less intrusive change to gfortran than changing
 build in rules would be for make (it would mean we are no longer
 compatible with other platforms or the upstream make).

        manoj

-- 
"We shall reach greater and greater platitudes of achievement." Richard
J. Daley
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: