Boost logo

Boost :

Subject: Re: [boost] ATTN: Boost GSoC mentors and students: Continuous Integration for GSoC thoughts
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2013-06-11 19:27:47


Daniel Pfeifer <daniel_at_[hidden]> writes:

> 2013/6/11 Alexander Lamaison <awl03_at_[hidden]>
>
>> Daniel Pfeifer <daniel_at_[hidden]> writes:
>>
>> > 2013/6/4 Daniel Pfeifer <daniel_at_[hidden]>
>> >
>> >> 2013/6/4 Dominique Devienne <ddevienne_at_[hidden]>
>> >>
>> >>> On Mon, Jun 3, 2013 at 4:59 PM, Niall Douglas <ndouglas_at_[hidden]
>> >>> >wrote:
>> >>>
>> >>> > 1. Test that code builds with GCC 4.6 and clang 3.2.
>> >>> >
>> >>> > 2. [...] with GCC 4.6 and clang 3.2.
>> >>> >
>> >>> > 3. [...] GCC 4.6 and clang 3.2.
>> >>> >
>> >>>
>> >>> Just curious: is Visual Studio support not included because not deemed
>> >>> important? Or not supported by this particular lib? Or not supported by
>> >>> Travis CI for some reason? (licensing?)
>> >>>
>> >>
>> >> Not supported by the platform. Travis-CI's build slaves run Ubuntu
>> 12.04.
>> >>
>> >
>> > For minimal Windows support, you may go this route:
>> >
>> > * Install these packages: binutils-mingw-w64-i686 gcc-mingw-w64-i686
>> > g++-mingw-w64-i686 wine
>> > * CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
>> > * Link everything static, use the link flags -static-libgcc
>> > -static-libstdc++
>> > * run tests with wine.
>> >
>> > I have set this up once with CMake, but I don't use it anymore. I can dig
>> > up an example if someone is interested.
>>
>> I for one would love to see how you got this working. Boost is always
>> my stumbling block with cross-compiling for Windows on Linux with
>> CMake. I can never get FindBoost to find Boost.
>>
>
> Hi Alex,
>
> I have set up a minimal example here:
> https://github.com/purpleKarrot/CrossTest

Thanks Daniel. I'm using your setup now but the last step is the one
I'm struggling with, as usual: compiled Boost libraries. Have you any
advice for cross-compiling these as part of a Boost client project's
CMake build?

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk