Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OMDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenModelica
OMDev
Commits
644bf00d
Verified
Commit
644bf00d
authored
4 years ago
by
Adrian Pop
Browse files
Options
Downloads
Patches
Plain Diff
update msys setup readme
parent
33f1fe6f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/MSYS_SETUP.txt
+45
-49
45 additions, 49 deletions
tools/MSYS_SETUP.txt
with
45 additions
and
49 deletions
tools/MSYS_SETUP.txt
+
45
−
49
View file @
644bf00d
OpenModelica Included Development Environment-MSYS2+MINGW32/MINGW64
OpenModelica Included Development Environment-MSYS2+MINGW32/MINGW64
-------------------------------------------------------------------
-------------------------------------------------------------------
Adrian.Pop@liu.se, 2010-10-24, last update: 2017-03-10
Adrian.Pop@liu.se, 2010-10-24, last update: 2021-05-16
-------------------------------------------------------------------
-------------------------------------------------------------------
WARNING NOTE:
WARNING NOTE:
- DO NOT DO THIS IF YOU HAVE OMDev installed!
- DO NOT DO THIS IF YOU HAVE OMDev installed!
- this file explains how to setup the msys included in the OpenModelica installation
- this file explains how to setup the msys included in the OpenModelica installation
To check for an updated version of this package go to:
VERY IMPORTANT INSTALLATION ISSUES!
https://openmodelica.org/svn/OpenModelicaExternal/trunk/tools/windows/OMDev/tools
***********************************
VERY IMPORTANT INSTALLATION ISSUES!
MSYS setting
***********************************
============
To make things move fast in msys2 one has to generate the group and passwd files on the host.
MSYS setting
Open windows command prompt (cmd) and run %OPENMODELICAHOME%\tools\MSYS_SETUP.bat file.
============
To make things move fast in msys2 one has to generate the group and passwd files on the host.
MINGW32 or MINGW64
Open windows command prompt (cmd) and run %OPENMODELICAHOME%\tools\MSYS_SETUP.bat file.
==================
To build using 32 bit GCC you run:
MINGW32 or MINGW64
%OPENMODELICAHOME%\tools\msys\mingw32.exe
==================
To build using 64 bit GCC you run:
To build using 32 bit GCC you run:
%OPENMODELICAHOME%\tools\msys\mingw64.exe
%OPENMODELICAHOME%\tools\msys\mingw32_shell.bat
To build using 64 bit GCC you run:
ENVIRONMENT VARIABLE SETTINGS
%OPENMODELICAHOME%\tools\msys\mingw64_shell.bat
=============================
- note that msys.exe mingw32.exe mingw64.exe
ENVIRONMENT VARIABLE SETTINGS
+ do not use Windows PATH varible. If you want to use the
=============================
Windows path variable define an environment varible called
- note that msys_shell.bat mingw32_shell.bat mingw64_shell.bat
MSYS2_PATH_TYPE=inherit
+ do not use Windows PATH varible. If you want to use the
+ do not use Windows TEMP directory but the directory:
Windows path variable define an environment varible called
%OPENMODELICAHOME%\tools\msys\tmp
MSYS2_PATH_TYPE=inherit
if you want to change this behavior edit:
or you can call the batch scripts with -use-full-path
%OPENMODELICAHOME%\tools\msys\etc\profile
+ do not use Windows TEMP directory but the directory:
or define $TEMP and $TMP in the terminal
%OPENMODELICAHOME%\tools\msys\tmp
- if you want to use the msys shell from Windows command line
if you want to change this behavior edit:
make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64
%OPENMODELICAHOME%\tools\msys\etc\profile
if you do:
or define $TEMP and $TMP in the terminal
set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32.exe)
- if you want to use the msys shell from Windows command line
set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64.exe)
make sure you set MSYSTEM to one of MSYS, MINGW32, MINGW64
set MSYSTEM=MSYS use for updating MSYS (msys2.exe)
if you do:
set MSYSTEM=MINGW32 you get the 32 bit GCC (mingw32_shell.bat)
Address questions/problems to:
set MSYSTEM=MINGW64 you get the 64 bit GCC (mingw64_shell.bat)
Adrian Pop,
set MSYSTEM=MSYS use for updating MSYS (msys2_shell.bat)
Adrian.Pop@liu.se
Address questions/problems to:
Adrian Pop,
Adrian.Pop@liu.se
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment