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

f2c picked up before gfortran by autoconf #388

Open
sampotter opened this issue Jan 12, 2023 · 3 comments
Open

f2c picked up before gfortran by autoconf #388

sampotter opened this issue Jan 12, 2023 · 3 comments

Comments

@sampotter
Copy link

sampotter commented Jan 12, 2023

Expected behavior

If f2c and gfortran are both installed, I found that autoconf will pick up the f77 script provided by f2c before gfortran, leading to weird results.

(Note: I was able to solve my own problem by uninstalling f77 and using CMake instead of autoconf. I didn't test whether CMake had a similar issue.)

Actual behavior

Probably an actual Fortran compiler should be picked up before the f77 script.

Where/how to reproduce the problem

Steps to reproduce the problem

Run ./configure.

@fghoussen
Copy link
Collaborator

You can select the compiler you want with FC=whatever ./configure

@sampotter
Copy link
Author

I'm aware. IMO, the current behavior is a bug.

@fghoussen
Copy link
Collaborator

Feel free to propose a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants