Skip to content

MinGW-w64: cross compile multilib toolchain docker image based on centos7 targetting win64 and win32

License

Notifications You must be signed in to change notification settings

Jesseatgao/mingw-w64-multilib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mingw-w64-multilib

MinGW-w64: cross compile multilib toolchain docker image based on centos7 targetting win64 and win32

Docker Images with Tags

  • cgdoc/mingw-w64-multilib:posix-v1.4

    • Source
    • Base Image
      • Centos 7
    • Cross Compilation Toolchain
      • MinGW-w64: 10.0.0
      • GCC: 10.3.0
      • Binutils: 2.37
      • Thread model: posix
      • Languages: C, C++
      • Thread support: C++ 11 Thread, POSIX Threads (winpthreads)
    • Native Compilation Toolchain
      • GCC: 10.2.1
      • Binutils: 2.35
      • Thread model: posix
      • Languages: C,C++,FORTRAN
    • Build System
      • make: GNU Make 4.2.1
      • cmake: 3.23.2
      • meson: 0.61.5
      • rake: Ruby Make 13.0.6 (Ruby 2.6)
    • Repos
      • CentOS 7 Base
      • CentOS 7 SCL
      • EPEL 7
  • cgdoc/mingw-w64-multilib:win32-v1.4

    • Source
    • Base Image
      • Centos 7
    • Cross Compilation Toolchain
    • Native Compilation Toolchain
      • GCC: 10.2.1
      • Binutils: 2.35
      • Thread model: posix
      • Languages: C,C++,FORTRAN
    • Build System
      • make: GNU Make 4.2.1
      • cmake: 3.23.2
      • meson: 0.61.5
      • rake: Ruby Make 13.0.6 (Ruby 2.6)
    • Repos
      • CentOS 7 Base
      • CentOS 7 SCL
      • EPEL 7

Usage

  1. Create a temporary container from an image, say, cgdoc/mingw-w64-multilib:win32-v1.4
docker create --name centos7-extended cgdoc/mingw-w64-multilib:win32-v1.4
  1. Export the container as a tar archive
docker export centos7-extended > centos7-extended.tar
  1. Import the distro tar file into WSL
wsl --import centos7-extended . centos7-extended.tar
  1. (optional) Remove the container and the tar file
docker rm centos7-extended
del /f centos7-extended.tar
  1. Run the imported CentOS Linux distro
wsl -d centos7-extended

About

MinGW-w64: cross compile multilib toolchain docker image based on centos7 targetting win64 and win32

Resources

License

Stars

Watchers

Forks

Packages