Author Topic: What is used to build nightlies?  (Read 552 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2143
What is used to build nightlies?
« on: February 16, 2019, 08:17:21 pm »
Which one of these compilers is being used to build the nightly for windows?

MinGW-W64 GCC-8.1.0
x86_64-posix-sjlj
x86_64-posix-seh
x86_64-win32-sjlj
x86_64-win32-seh
i686-posix-sjlj
i686-posix-dwarf
i686-win32-sjlj
i686-win32-dwarf

What are the parameters being used to compile wxWidgets for the windows nightly?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5157
Re: What is used to build nightlies?
« Reply #1 on: March 09, 2019, 10:45:28 am »
Compiler:
======
Mingw_w64 : 8.1.0  (https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download)

In the following configuration :
Version : 8.1.0
Architecture : x86_64
Threads : posix
Exception : seh
Build Revision : 0


WX:
===
The nightly is still using wx 3.1.1, in order to build it on windows a little patch is needed :
Code: [Select]
===> https://github.com/wxWidgets/wxWidgets/commit/424f64f27d94f83ed946ebfcf9b9543c828f9f25
include/wx/msw/private.h
    static HANDLE InvalidHandle()
    {
        return static_cast<HANDLE>(INVALID_VALUE);
        return reinterpret_cast<HANDLE>(INVALID_VALUE);
    }
so rather easy to adjust.

The build instruction is :
Code: [Select]
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11"


PS : the same instruction (minus that patch) work also to build wx 3.1.2, and this one has a zillion less warnings during the build :-)