An open API service indexing awesome lists of open source software.

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.

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