https://github.com/mmozeiko/build-gcc-mingw
Automatic 32-bit and 64-bit Windows build of gcc, mingw-w64, gdb and make.
https://github.com/mmozeiko/build-gcc-mingw
gcc gdb mingw-w64
Last synced: 3 months ago
JSON representation
Automatic 32-bit and 64-bit Windows build of gcc, mingw-w64, gdb and make.
- Host: GitHub
- URL: https://github.com/mmozeiko/build-gcc-mingw
- Owner: mmozeiko
- Created: 2021-04-23T06:50:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-26T05:51:37.000Z (about 1 year ago)
- Last Synced: 2025-04-26T06:34:36.705Z (about 1 year ago)
- Topics: gcc, gdb, mingw-w64
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 67
- Watchers: 5
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Automatic 32-bit and 64-bit Windows build of [gcc][] compiler, [mingw-w64][] runtime, [gdb][] debugger and [make][].
Builds are linked statically to their dependencies and provide only static runtime libraries (libstdc++, libgomp, libwinpthread and others).
Download binary build as 7z archive from [latest release][] page.
To build binaries locally run `build.sh`. Make sure you have installed all necessary dependencies.
To build binaries using Docker, run:
docker run -ti --rm -v `pwd`:/output -e OUTPUT=/output -w /mnt ubuntu:24.04
apt update
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \
ca-certificates libgmp-dev libmpc-dev libmpfr-dev libisl-dev xz-utils texinfo patch bzip2 p7zip cmake make curl m4 gcc g++
/output/build.sh i686
/output/build.sh x86_64
exit
[gcc]: https://gcc.gnu.org/
[mingw-w64]: http://mingw-w64.org/
[gdb]: https://www.gnu.org/software/gdb/
[make]: https://www.gnu.org/software/make/
[latest release]: https://github.com/mmozeiko/build-gcc-mingw/releases/latest