[Bug 224108] %configure macro generates unusable FFLAGS

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 21 10:07:19 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: %configure macro generates unusable FFLAGS


https://bugzilla.redhat.com/show_bug.cgi?id=224108





------- Additional Comments From pmachata at redhat.com  2008-04-21 06:07 EST -------
Setting FC would probably be the easiest solution.

make goes to extreme lengths to be useful "out of the box", with implicit rules
and all.  Array with default variable values is rich with conditionals, but all
of them are compile-time settings (e.g. favoring "gpp" for c++ compiler on MS
DOS).  I don't think make should "guess" the right Fortran compiler for the user.

That said, it is simple to change make to favor "gfortran".  But I need to know
what's the situation in Fortran community in general--is gfortran considered the
de facto standard Fortran compiler on Fedora?  Are there other Fortran systems?
 Are they commonplace?  Are their users willing to bypass make logic with
explicitly set FC?  Should we use /etc/alternatives?

I'm slightly biased towards changing the default to be gfortran, simply because
picking f77 seems like defaulting to K&R C in gcc, but I don't know enough
context to make this decision.  Maybe fedora-devel-list would be the right
choice for this discussion (or is there Fortran SIG?).  Care to write a proposal?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-triage-list mailing list