Skip to content

Conversation

@beutlich
Copy link
Member

@beutlich beutlich commented Jun 23, 2025

GCC x.y.z will create a subfolder gccxyz.

@beutlich beutlich added this to the MSL4.2.0 milestone Jun 23, 2025
@beutlich beutlich requested review from HansOlsson and maltelenz June 23, 2025 19:46
@beutlich beutlich added L: Resources Issue addresses Modelica/Resources (excl. C-Sources) V: 4.2.0-dev Issue originates in MSL v4.2.0-dev (and is not present in earlier releases) labels Jun 23, 2025
Copy link
Contributor

@maltelenz maltelenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could/should it use CMAKE_C_COMPILER_VERSION?

The general idea seems fine, but System Modeler doesn't have MinGW support, so I cannot do any real testing.

@beutlich beutlich requested a review from adrpo July 26, 2025 09:18
@beutlich beutlich force-pushed the set-gcc-specific-subfolder-for-mingw branch from 3eb5093 to 64c6872 Compare July 26, 2025 09:19
@beutlich beutlich force-pushed the set-gcc-specific-subfolder-for-mingw branch from 64c6872 to a8e7915 Compare October 14, 2025 18:16
@beutlich beutlich force-pushed the set-gcc-specific-subfolder-for-mingw branch from a8e7915 to 6d5ca5e Compare October 25, 2025 18:26
@beutlich beutlich linked an issue Oct 25, 2025 that may be closed by this pull request
Copy link
Contributor

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok according to my coworkers who work more with gcc.

@beutlich beutlich force-pushed the set-gcc-specific-subfolder-for-mingw branch from 6d5ca5e to 92accf7 Compare January 15, 2026 17:53
@beutlich
Copy link
Member Author

@maltelenz
Copy link
Contributor

Could/should it use CMAKE_C_COMPILER_VERSION?

@beutlich the end result seems fine, but why are you doing it yourself? Does the CMAKE variable not do what you want?

Either way, I don't have strong opinions, so if you want to go ahead with this approach, let me know and I can provide the needed second approving review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: Resources Issue addresses Modelica/Resources (excl. C-Sources) V: 4.2.0-dev Issue originates in MSL v4.2.0-dev (and is not present in earlier releases)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants