Hi all,
I’m new and I just downloaded Sublime. It is great but I’m experiencing a tiny problem. What I’d like to do is very simple: I use Fortran and I’ve been able to create a build system on my Windows machine to compile my code:
{
“cmd”: “gfortran”, “$file”],
“cmd”: “a”]
}
I compile with gfortran; the last line is to open the output. It works fine on Windows.
Therefore I tried to do the same on my OS X/Ubuntu laptop but it doesn’t work for both of them:
{
“commandline”: “gfortran”, “$file”],
“commandline”: “./a.out”]
}
I think the problem comes from the calling of the terminal.
Does anybody have an idea to solve my problem? Basically I just need, in a terminal, to do: gfortran File_To_Compile and then ./a.out in the current directory to open the output. I think it is the same code for Ubuntu and OS X.
Thank you for your help,
Victor