Skip to content

mmozeiko/build-gcc-mingw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 32
/output/build.sh 64
exit