Except for the following folders, these unlisted folders should not be changed, under any circumstances, because these are created by GNU, and should be stored in there as the rest-overs.
.github- Containing GitHub-related files and actions..gnu-windows- Including sources and build instructions. May can change to compatible with the installation.gitattributes,.gitignore,*.md, andLICENSEare all generated by GitHub Actions workflows or manually written..gitmodulescontains all settings of Git submodules.
Most packages are user-prepared at runtime, using prepare_env.sh.
To update any new packages, please update the versioning in there
Since this repo is a submodule package distribution, it is recommended to update submodules before actual compiling.
git clone https://github.com/tfslabs/gnu-windows.gitSince version 1.1.1, it is recommended to switch to build using Ubunu Dev Containers.
Depends on your host machine architecture and workload limitation, please choose your image that fit with your task.
Replace <your path> with your real path to the local repo. Double-quote is needed if there are spaces in your path.
docker run -it -v <your path>:/root theflightsims/gnu-windows-build:latest bashOnce you're in the bash, try this command:
# Prepare environment
/root/.gnu-windows/prepare_env.sh
# Start building
/root/.gnu-windows/build.shNote:
If you have failed to build, it is recommended for you to start from the beginning. In that case, you can use this command
/root/.gnu-windows/cleanup_all.sh
Once it's done, you'll see your GNU application is building in folder .gnu-windows\bootstrap
Depending on your distro, it is required for your OS installation to have those packages:
- Core utilities
- Development tools & build dependencies
- Libraries & development headers
- Compilers & toolchains (GNU, LLVM, cross)
Replace <your path> with your real path to the local repo. Double-quote is needed if there are spaces in your path.
# Prepare environment
<your path>/.gnu-windows/prepare_env.sh
# Start building
<your path>/.gnu-windows/build.shNote:
If you have failed to build, it is recommended for you to start from the beginning. In that case, you can use this command
<your path>/.gnu-windows/cleanup_all.sh
Once it's done, you'll see your GNU application is building in folder .gnu-windows\bootstrap