Sign inSign up

cyd01/cross-gcc

By cyd01

•Updated 3 months ago

Cross compiler (MinGW 32bits and 64bits, an Go) on an Ubuntu Image

Image
1

2.0K

cyd01/cross-gcc repository overview

⁠Cross compilation tools

This image contains tools to be able to compile

  • Go programs
  • C programs with
    • gcc for linux in 32bits and 64bits
    • gcc for windows in 32bits and 64bits
  • C++ programs with
    • g++ for linux in 32bits and 64bits
    • g++ for windows in 32bits and 64bits
  • Lua programs
  • Java and Groovy programs
  • nodeJS programs

⁠Execution

Windows binaries execution can be done with wine tool

⁠Syntax

$ docker run --rm -it -v $(pwd)/sources:/sources -v $(pwd)/builds:/builds cyd01/cross-gcc
Preparing environment ...
Available commands:
/root/lua/bin/lua
/root/lua/bin/luac
/usr/bin/g++
/usr/bin/gcc
/usr/bin/groovy
/usr/bin/i686-w64-mingw32-g++
/usr/bin/i686-w64-mingw32-gcc
/usr/bin/i686-w64-mingw32-windres
/usr/bin/java
/usr/bin/javac
/usr/bin/make
/usr/bin/node
/usr/bin/npm
/usr/bin/rcedit.exe
/usr/bin/upx
/usr/bin/x86_64-w64-mingw32-g++
/usr/bin/x86_64-w64-mingw32-gcc
/usr/bin/x86_64-w64-mingw32-windres
/usr/local/go/bin/go
root@cross-gcc:/sources$

Tag summary

Content type

Image

Digest

sha256:8233ff196…

Size

955.2 MB

Last updated

3 months ago

docker pull cyd01/cross-gcc