I am trying to compile the Fortran runtime library (f2c
) in Cygwin using this command: nmake -f makefile.vc all
Per instruction given in the package, first I have to let Cygwin know about Microsoft cl
compiler and nmake
. How can I do this in Cygwin?
I already added vcvarsall.bat
to the Cygwin.bat
file but I don't know what I can do for nmake
. At this moment, I get this error: -bash nmake: command not found
相关问题
- how to call a C++ dll from C# windows application
- efficiently calling unmanaged method taking unmana
- CABS(x) function for complex(8)
- Upper bound of random number generator
- Why is my COM factory never released during the pr
相关文章
- Does gfortran take advantage of DO CONCURRENT?
- C++: Callback typedefs with __stdcall in MSVC
- Is it possible to check whether you are building f
- Which VC++ redistributable package to choose (x86
- git.exe: error while loading shared libraries: ?:
- Fortran 90 - “Segmentation fault - invalid memory
- ffmpeg run from shell runs properly, but does not
- How to convert Byte Array to hex string in visual
nmake
executable path should be present in your$PATH
environment variable. You should edit .bashrc file to achieve this. It could be found here:/home/user/.bashrc
Or if you prefer a windows editor then:c:\cygwin\home\user\.bashrc
Add this line with the correct path to the end of the file:
After that a new cygwin terminal should be started, in which you can use
nmake
command.