aboutsummaryrefslogtreecommitdiff
path: root/pc_build_readme.txt
diff options
context:
space:
mode:
authorSriReddy-NOAA <Srinivas.Reddy@noaa.gov>2021-04-09 00:16:54 -0400
committerSriReddy-NOAA <Srinivas.Reddy@noaa.gov>2021-04-09 00:16:54 -0400
commitb8ba4995c1fd618620fb4e1a82b1d2cd076e96c2 (patch)
tree16b14159394d79e111a602416ca57c289622d076 /pc_build_readme.txt
parent991614433e42bb670b1d06f3d3cd5801b50b5904 (diff)
version 3.2.9
Diffstat (limited to 'pc_build_readme.txt')
-rw-r--r--pc_build_readme.txt28
1 files changed, 28 insertions, 0 deletions
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