forked from OpenModelica/OpenModelica
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build libOpenModelicaRuntimeC and libomcgc as DLLs.
- We now build both of these libs as dlls on Windows. They are already built as shared libraries on linux. We build `libomcgc` as shared library because we do not want to ever have two instances of the garbage collector linked into one binary (exe or dll) ever. Having two instances of the garbage collector leads to quite ominous bugs that would be vey difficult to find. See OpenModelica#8738 and OpenModelica#8955 Just avoid the possibility altogether. We build `libOpenModelicaRuntimeC` as a dll because it saves memory. It is linked to every simulation executable we generate and there is no reason to duplicate it in every one of those executables. We will see what implications this will have for FMUs. Fixes OpenModelica#8738.
- Loading branch information
Showing
6 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters