* [gentoo-user] crossdev i686-w64-mingw32 threads
@ 2015-04-11 5:19 Cor Legemaat
2015-04-17 16:11 ` [gentoo-user] " James
0 siblings, 1 reply; 2+ messages in thread
From: Cor Legemaat @ 2015-04-11 5:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
Hi all:
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?
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.
Regards:
Cor
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: crossdev i686-w64-mingw32 threads
2015-04-11 5:19 [gentoo-user] crossdev i686-w64-mingw32 threads Cor Legemaat
@ 2015-04-17 16:11 ` James
0 siblings, 0 replies; 2+ messages in thread
From: James @ 2015-04-17 16:11 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-17 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11 5:19 [gentoo-user] crossdev i686-w64-mingw32 threads Cor Legemaat
2015-04-17 16:11 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox