Stupid question about mingw+wxWidgets license

73 views
Skip to first unread message

Сергей Коныгин

unread,
May 16, 2021, 12:02:09 AM5/16/21
to wx-users

I'm creating a commercial program for Windows using CodeBlocks + MinGW + wxWidgets. It's simple Windows application for engineering calculations. In my project unmodified C++ libraries are used. wxWidgets was compiled by myself with the command line:

mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 UNICODE=1 USE_OPENGL=1 BUILD=release -std=gnu++11

As a result my application contains the following files:

myprogram.exe

libgcc_s_dw2-1.dll

libstdc++-6.dll

libwinpthread-1.dll

wxmsw315u_gcc_custom.dll

wxmsw315u_gl_gcc_custom.dll

some data files...


How can I correctly (in terms of license) include these library files in my distribution?

Vadim Zeitlin

unread,
May 16, 2021, 4:38:32 PM5/16/21
to wx-u...@googlegroups.com
On Sat, 15 May 2021 21:02:09 -0700 (PDT) Сергей Коныгин wrote:

СК> I'm creating a commercial program for Windows using CodeBlocks + MinGW +
СК> wxWidgets. It's simple Windows application for engineering calculations. In
СК> my project unmodified C++ libraries are used. wxWidgets was compiled by
СК> myself with the command line:
СК>
СК> mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 UNICODE=1
СК> USE_OPENGL=1 BUILD=release -std=gnu++11
СК>
СК> As a result my application contains the following files:
СК>
СК> myprogram.exe
СК>
СК> libgcc_s_dw2-1.dll
СК>
СК> libstdc++-6.dll
СК>
СК> libwinpthread-1.dll
СК>
СК> wxmsw315u_gcc_custom.dll
СК>
СК> wxmsw315u_gl_gcc_custom.dll
СК>
СК> some data files...
СК>
СК> How can I correctly (in terms of license) include these library files in my
СК> distribution?

From wxWidgets point of view, you don't need to do anything special, the
licence allows you to "distribute [binaries of wx] under your own terms".
We appreciate when the application developers give credit to wxWidgets, but
this is not at all a requirement. For MinGW run-time DLLs you need to check
which licence are they under, but I believe that they use LGPL and there
could be a separate exception for the run-time files in any case, so I
don't think this imposes any actual restrictions neither, but in any case,
this is not at all related to wx, so if you have any questions about this,
you should ask gcc/GNU people.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages