You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Hello World page mentions how to install gfortran on Windows but is otherwise oriented towards Unix-like operating systems. If it is supposed to be equally usable for someone on Windows, here are some suggestions:
It says
To check if you have gfortran setup correctly, open a terminal and run the following command
Windows Terminal now starts out with Powershell. I think Fortran compilers and batch files were made to be used with CMD, which you can get by typing cmd at a Powershell prompt.
It says to compile with
gfortran hello.f90 -o hello
but on Windows there is a convention to give executable files a .exe suffix.
It says to use
$> ./hello
to run the executable, but in Windows you would run .\hello.exe or probably just hello.exe.
The text was updated successfully, but these errors were encountered:
Assuming your compiler of choice adds the correct locations to your system PATH, this is a non-issue. I went through the hello world yesterday on Windows and had no such issue in PowerShell. The part that took me a moment was trying out a couple IDEs and getting them configured to build, run, and debug.
The Hello World page mentions how to install gfortran on Windows but is otherwise oriented towards Unix-like operating systems. If it is supposed to be equally usable for someone on Windows, here are some suggestions:
It says
To check if you have gfortran setup correctly, open a terminal and run the following command
Windows Terminal now starts out with Powershell. I think Fortran compilers and batch files were made to be used with CMD, which you can get by typing
cmd
at a Powershell prompt.It says to compile with
gfortran hello.f90 -o hello
but on Windows there is a convention to give executable files a .exe suffix.
It says to use
$> ./hello
to run the executable, but in Windows you would run
.\hello.exe
or probably justhello.exe
.The text was updated successfully, but these errors were encountered: