> Erik,
> 
> Thanks for adding it. When will it be in the main Fedora repository?
> 
> I'm not really upon on all of the packaging things. Can you give me simple 
> instructions that I can provide to my users to tell them how to easily add 
> this?  I tried the obvious "yum install" and it didn't work (see below). Is 
> there another repository that can be added?
> 
> $ sudo yum install 
> http://kojipkgs.fedoraproject.org//packages/mingw-pthreads/2.8.0/21.20110511cvs.fc18/noarch/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm
> Loaded plugins: langpacks, presto, refresh-packagekit
> mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm                  
>                                                  |  32 kB     00:00    
> Examining 
> /var/tmp/yum-root-uICUWW/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm:
>  mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch
> Marking 
> /var/tmp/yum-root-uICUWW/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch.rpm
>  to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package mingw64-pthreads-static.noarch 0:2.8.0-21.20110511cvs.fc18 will 
> be installed
> --> Processing Dependency: mingw64-pthreads = 2.8.0-21.20110511cvs.fc18 for 
> package: mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch
> --> Finished Dependency Resolution
> Error: Package: mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch 
> (/mingw64-pthreads-static-2.8.0-21.20110511cvs.fc18.noarch)
>            Requires: mingw64-pthreads = 2.8.0-21.20110511cvs.fc18
>            Available: mingw64-pthreads-2.8.0-20.20110511cvs.fc17.noarch 
> (fedora)
>                mingw64-pthreads = 2.8.0-20.20110511cvs.fc17
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> [simsong@FC17 tcpflow]$ 
> 
> Thanks,
> 
> Simson
> 

Hi,

Please read pthreads-win32 technical notes, as I remembered, you need to
initialize it manually if you're linking to static libraries, otherwise,
your program crashes.

Obviously, this is a hassle if you're porting a lot of pthreads code,
but I have seen some patches to attempt working around this.

I'm not sure if this applies to the pthreads you built, or if it is even
relevant at all in newer pthreads-win32. Somebody please bring me up to
date if I'm wrong.




Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to