Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic detection of correct GNU fortran compiler #122

Closed
GoogleCodeExporter opened this issue Aug 12, 2015 · 2 comments
Closed

Automatic detection of correct GNU fortran compiler #122

GoogleCodeExporter opened this issue Aug 12, 2015 · 2 comments
Assignees
Labels
comp-Scripts Related to Makefiles, wrappers, developer and testing scripts feature Allows new functionality pri-Medium Worth assigning to a milestone
Milestone

Comments

@GoogleCodeExporter
Copy link

Currently GNU compiler options in the Makefile assume the presence of g77. 
However, since GCC version 4, g77 is replaced by gfortran. So the following 
should be done:
1) the default option for GNU compilers in the Makefile should be using 
gfortran instead of g77.
2) an automatic fallback to g77 (when gfortran is not available) should be 
implemented.

The first part seems to require only the modification of two lines:
"CF    := g77" -> "CF    := gfortran"
"FLIBS += -lg2c" -> "FLIBS += -lgfortran"
See the following diff for implementation (not on the most recent version of 
the Makefile)
http://code.google.com/p/a-dda/source/diff?spec=svn1005&old=1005&r=1004&format=s
ide&path=%2Ftrunk%2Fsrc%2FMakefile

So the latter can be regarded as a workaround, while the issue is not fixed.

Original issue reported on code.google.com by yurkin on 12 Jan 2011 at 7:20

@GoogleCodeExporter GoogleCodeExporter added OpSys-All comp-Scripts Related to Makefiles, wrappers, developer and testing scripts pri-Medium Worth assigning to a milestone labels Aug 12, 2015
@GoogleCodeExporter
Copy link
Author

Fixed in r1040.

r1040 - 1099042

Original comment by yurkin on 27 May 2011 at 5:11

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r1040.

r1040 - 1099042

Original comment by yurkin on 27 May 2011 at 1:26

@myurkin myurkin modified the milestone: 1.1 Aug 13, 2015
@myurkin myurkin added feature Allows new functionality and removed auto-migrated labels Aug 13, 2015
@myurkin myurkin self-assigned this Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-Scripts Related to Makefiles, wrappers, developer and testing scripts feature Allows new functionality pri-Medium Worth assigning to a milestone
Projects
None yet
Development

No branches or pull requests

2 participants