Cor Legemaat <cor <at> cor.za.net> writes:
> All the mingw-w64 windows builds have pthreads enabled and you can use > std::thread and std::mutex, how can I enable that in the gentoo crossdev > builds? > Found https://github.com/niXman/mingw-builds and > http://sourceforge.net/p/mingw/mailman/message/28014658/ but will I then > need to edit the ebuild to get it working? This might help: https://wiki.gentoo.org/wiki//etc/portage/patches if epatch-user does not, then copy the ebuild to /usr/local/portage and hack away at it, as you like. Repoman is your friend and companion to the devmanual. > Tried the pthread setup as explained on the wiki but then I can't use my > class dynamically in a program if it is using pthread_mutex. I'd ask on gentoo-dev or one of the irc channels. Often I find esoteric answers in the arch linux documents.... good hunting, James