Building Erlang/OTP for 32bit/64bit windows with gcc
Required tools and libraries
- mingw + msys environment installed with mingw-get-inst.
- mingw compiler that has more up-to-date system headers.
wine-prgs-0.9.14-mingw.zip
from here.- Java SDK.
- openssl library
./config mingw shared zlib-dynamic
- wx widgets library
- code in
contrib/src/stc
has to be compiled also
- code in
- Building erlang/OTP:
eval `./otp_build env_msys_mingw32` ./otp_build all -a
todo
- 64 bit time_t for 32-bit windows?
- proper check for gcc version in
sys/win32/sys_float.c
- submit those patches that seem to be trivial
- test compiling with VC after applying the patches
Patches
- created with quilt (debian package)
- Patches can be applied by putting the files in sub-directory
patches
and executingquilt push -a
- OTP R15B03-01
- OTP R16B
- OTP R16B02
- OTP R16B03
- OTP 17.0-rc1
- OTP 17.3
- OTP 17.5.4