Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242344 - toolchain.eclass missing info for cross-*-mingw32/gcc with cxx
Summary: toolchain.eclass missing info for cross-*-mingw32/gcc with cxx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 14:13 UTC by cJ
Modified: 2008-10-27 05:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2008-10-16 14:13:48 UTC
Hi,

I was having problems building cross-i686-pc-mingw32/gcc (stage 2),
when building libstdc++-v3 configure was complaining about win32 not being a valid thread model.

Adding this to the toolchain.eclass solved my problem :
[[ ${CTARGET} == *-mingw32 ]] && confgcc="${confgcc} --enable-shared --enable-threads=win32"

(I didn't invent the info, it was taken from the x86-mingw32-build.sh script)

HTH,
Comment 1 cJ 2008-10-16 14:36:48 UTC
Forgot to mention gcc version, 4.3.1-r1.

Comment 2 SpanKY gentoo-dev 2008-10-27 05:06:47 UTC
thanks, added to cvs

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.364&r2=1.365