-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linking was failing under MinGW gcc because of a link order issue between `libares` and `mingw32`. Establishing a direct link relationship between `desktop-ui` and `mingw32` means that our `WinMain` definition will not be discarded by `ld` before it's needed. We also here add a Linux gcc runner and a Windows gcc runner; these do not upload artifacts, but will allow us to detect build failures on CI. At the moment, gcc support in general under CMake will still rougher edges than clang or MSVC support, but it is intended that building with `gcc` and `ld` should always at least work, even if `clang` remains recommended and achieves superior performance. This PR also adds a warning in the N64 core to acknowledge #1737 until that issue can be fixed. Co-authored-by: John Tur <[email protected]>
- Loading branch information
1 parent
1eb0a16
commit a960aee
Showing
7 changed files
with
85 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# configure | ||
cmake --preset $TARGET_PRESET | ||
|
||
# change into the build directory | ||
pushd build | ||
|
||
ninja | ||
|
||
popd |
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
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