octave-maintainers
[Top][All Lists]
Advanced

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

Re: FC vs. F77 in Makefiles


From: John W. Eaton
Subject: Re: FC vs. F77 in Makefiles
Date: Mon, 24 Nov 2014 16:50:51 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0

On 11/24/2014 11:31 AM, Rik wrote:

I could only find 3 independent instances in the Mercurial tree.

Aliasing FC to $F77
configure.ac:707:FC=$F77
configure.ac:708:AC_SUBST(FC)

Adding the alias into the Makefiles
build-aux/common.mk:94:FC = @FC@
build-aux/common.mk:557:  -e "s|%OCTAVE_CONF_FC%|\"${FC}\"|" \

In README.MacOS
etc/README.MacOS:157:  export FC="/usr/bin/gfortran"
etc/README.MacOS:178:  export FC="/usr/bin/gfortran"
etc/README.MacOS:394:  export FC=/opt/local/bin/gfortran-mp-4.4

My test of commenting out the configure.ac would have taken care of the
first two.

Since OCTAVE_CONF_FC is set from FC, you need to eliminate uses of that variable down as well. I think it is just used in the octave_config_info function using a macro defined in the oct-conf.in.h file, so could probably just be removed.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]