Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521942 - dev-libs/boost-1.55.0-r2: Support for cross-compilation for MinGW targets
Summary: dev-libs/boost-1.55.0-r2: Support for cross-compilation for MinGW targets
Status: RESOLVED DUPLICATE of bug 330671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 10:04 UTC by Michael Seifert
Modified: 2014-09-02 10:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
boost-1.55.0-r2-mingw.patch (boost-1.55.0-r2-mingw.patch,650 bytes, patch)
2014-09-02 10:06 UTC, Michael Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Seifert 2014-09-02 10:04:21 UTC
dev-libs/boost-1.55.0-r2 does not cross-compile on MinGW toolchains.

Therefore, I created a patch that sets the "target-os" and "threadapi" options for b2, depending on the current CHOST.

Compilation on x86_64-w64-mingw32 works with USE="nls static-libs threads (-context) -debug -doc -icu -mpi -python -tools".

Reproducible: Always

Steps to Reproduce:
1. x86_64-w64-mingw32-emerge =dev-libs/boost-1.55.0-r2

Actual Results:  
Emerge fails

Expected Results:  
Emerge finishes successfully
Comment 1 Michael Seifert 2014-09-02 10:06:10 UTC
Created attachment 384090 [details, diff]
boost-1.55.0-r2-mingw.patch

Sets target-os=windows and threadapi=win32 when compiling for Windows targets.
Comment 2 Michael Seifert 2014-09-02 10:17:20 UTC

*** This bug has been marked as a duplicate of bug 330671 ***