From b8ba4995c1fd618620fb4e1a82b1d2cd076e96c2 Mon Sep 17 00:00:00 2001 From: SriReddy-NOAA Date: Fri, 9 Apr 2021 00:16:54 -0400 Subject: version 3.2.9 --- pc_build_readme.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pc_build_readme.txt (limited to 'pc_build_readme.txt') diff --git a/pc_build_readme.txt b/pc_build_readme.txt new file mode 100644 index 0000000..4d2ca66 --- /dev/null +++ b/pc_build_readme.txt @@ -0,0 +1,28 @@ +Install MYS2 (https://www.msys2.org/). + +Install both 64- and 32-bit (https://www.msys2.org/wiki/MSYS2-installation/). + +Install following package for 32-bit: mingw-w64-i686-toolchain + +Details on package management at https://www.msys2.org/wiki/Using-packages/. + + +Assume here that msys2 installed at C:/msys2/ +and mingw32 installed at C:/msys2/mingw2/bin/ + + +Once installed with packages, launch msys2.exe +(at C:/msys2/, or create shortcut). + + +Change path to location of source code (this path just an example): +[user computer] MSYS ~ +$ cd /c/temp/htdp + +Set system path to compiler (must go to where msys2 and mingw32 installed): +[user computer] MSYS /c/temp/htdp +$ export PATH=$PATH:/c/msys2/mingw32/bin + +Run compiler with following command: +[user computer] MSYS /c/temp/htdp +$ gfortran -DNGS_PC_ENV -static -m32 -Wall -Wtabs *.f -o htdp \ No newline at end of file -- cgit v1.2.3