← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Github support for mingw-w64

 

No problem, good luck in the Tennis tourney!


On 5 October 2013 16:43, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:

> Thanks.  Will get back to you.
> In tennis tourney today.
>  On Oct 5, 2013 9:20 AM, "Brian Sidebotham" <brian.sidebotham@xxxxxxxxx>
> wrote:
>
>> Hi Guys,
>>
>> Attached is the current patch I can commit to enable Github plugin
>> support for MinGW.
>>
>> It enables OpenSSL, which can be pointed to by setting the
>> OPENSSL_ROOT_DIR when configuring with CMake. I've not done any work on
>> getting OpenSSL to compile under windows as it cross-compiles under Linux
>> just fine.
>>
>> The boost build steps are a bit different to Linux and OSX. On windows we
>> need to specify library subsets to b2 rather than bootstrap using a --with-
>> prefix for all required libraries.
>>
>> The installation of boost headers is slightly different under MinGW too,
>> we end up with an include directory of ${BOOST_ROOT}/include/boost-1_54/
>> instead of just the include base directory.
>>
>> There were some linking problems with github where I had to add
>> ${wxWidgets_LIBRARIES}. I guess that is safe to do across all platforms?
>> boost::asio requires us to link in a socket layer under MinGW too, so
>> ws2_32 is added for MinGW only.
>>
>> Dick, if you've got time to review, could you give me your views and any
>> suggestions for change?
>>
>> I should also add - this will not work with mingw32 as far as I have
>> tested. The compilation of a subset of boost libraries does not work for me
>> under the mingw32. This is probably a major problem as I expect most people
>> who are using MinGW are still using the MinGW32 project and not the
>> mingw-w64 project. With mingw32 using dwarf-2 though it doesn't really make
>> any sense to me to use that project.
>>
>> Best Regards,
>>
>> Brian.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>>

References