Hey John,

I'm actually cross compiling from Linux to Windows using mingw64 (which both 
supports 32 bits and 64 bits) via Gentoo crossdev (which basically is just a 
nice tool to easily initialize a toolchain for a different arch, system ...). 
I'm currently using GCC 4.5.3 along with mingw64 runtime 20110523. This is why 
i'm using the full tool names since i have 3 different compilers on my system. 
Maybe we'd like to have two different version of the makefile (native or cross 
compile) but i bet they would be mostly the same anyway.

The mingw64 project is also the one that provides the 64 bits port of win32 
pthreads, you can find the relevant info at 
http://sourceforge.net/apps/trac/mingw-w64/wiki/Compile%20pthreads and download 
at 
http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/pthreads/.

Thanks,

-----Original Message-----
From: K. John Wu [mailto:[email protected]] 
Sent: Tuesday, March 06, 2012 1:54 AM
To: FastBit Users
Cc: Dominique Prunier
Subject: Re: [FastBit-users] Static pthread on win32 or win63 using MinGW64

Hi, Dominique,

Just realize that I have not tried MinGW.mak for a while, and I am no
longer able to run it on my installation of MinGW.  The G++ command
seems to have a different naming convention than the one used in the
current MinGW.mak.  Would you mind tell us which version of MinGW is
needed to run your version of MinGW.mak?  Also, where to download the
pthread library you are using?

Thanks.

John



On 3/5/12 10:49 AM, Dominique Prunier wrote:
> Hi,
> 
>  
> 
> For those interested in having a standalone FastBit DLL on Windows, i
> played around a bit to build and use a static version of the pthread
> library.
> 
> The attached  patch adds a couple of targets to grab and build
> pthreads (make –f MinGW.mak pthreads-static) and once done, you should
> be able to get a standalone DLL with make –f MinGW.mak dll.
> 
>  
> 
> Thanks,
> 
>  
> 
> */Dominique Prunier/**//*
> 
>  APG Lead Developper
> 
> Logo-W4N-100dpi
> 
>  4388, rue Saint-Denis
> 
>  Bureau 309
> 
>  Montreal (Quebec)  H2J 2L1
> 
>  Tel. +1 514-842-6767  x310
> 
>  Fax +1 514-842-3989
> 
>  [email protected] <mailto:[email protected]>
> 
>  www.watch4net.com <http://www.watch4net.com/>
> 
> /  /
> 
> /This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete
> the original. Any other use of this electronic mail by you is prohibited.
> 
> //Ce message est pour le récipiendaire désigné seulement et peut
> contenir des informations privilégiées, propriétaires ou autrement
> privées. Si vous l'avez reçu par erreur, S.V.P. avisez l'expéditeur
> immédiatement et effacez l'original. Toute autre utilisation de ce
> courrier électronique par vous est prohibée.///
> 
>  
> 
> 
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to