Hi, Dominique,

Thanks for the update to src/part.cpp and win/MinGW.mak.  The patched
files are checked into SVN as part of revision 459.

John


On 1/17/12 1:55 PM, Dominique Prunier wrote:
> Hi,
> 
> For those interested, i successfully built the FastBit DLL on both Win32 and 
> Win64 using mingw64 on a Linux host. I found it much easier than installing 
> the Windows SDK and configuring everything (i'm not familiar at all with dev 
> on a Windows platform...).
> 
> Thanks to the wonderful MinGW64 team, we also have a Win32/Win64 prebuilt 
> binary of pthreads that you can download at: 
> http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/pthreads/
> 
> I ended up with a minimal set of modifications (a few compilations error, 
> probably due to newer gcc, and some constants in the MinGW.mak file to make 
> my life easier). I have attached the patch for whoever might need it.
> 
> I did very limited tested on the produced DLL, but i can confirm that a 
> dynamically linked binary can minimally run queries through the C API.
> 
> Thanks,
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Dominique Prunier
> Sent: Tuesday, January 17, 2012 12:41 PM
> To: K. John Wu
> Cc: FastBit Users
> Subject: Re: [FastBit-users] FastBit on Windows
> 
> Well, i'm not willing to change everything for now, but i was wondering to 
> what extent the lib has been build/tested as a 64 bit binary on a windows 
> machine. FYI, i'm currently trying to cross compile it from a linux box to a 
> windows 64 bit target. I've got a few compilation issue (probably do to a 
> very recent and more strict gcc) and had to find a 64 bit port of pthread, 
> but so far it does look pretty good. I'll be able to tell you later today how 
> things are going.
> 
> Thanks,
> 
> -----Original Message-----
> From: K. John Wu [mailto:[email protected]] 
> Sent: Tuesday, January 17, 2012 12:16 PM
> To: Dominique Prunier
> Cc: FastBit Users
> Subject: Re: [FastBit-users] FastBit on Windows
> 
> Hi, Dominique,
> 
> My understanding is that the VisualStudio will determine the current
> machine type and compile the source code accordingly.  Current vcproj
> files are explicitly setting target machime to x86 - just dug up the
> setting, don't recall when this was set.  Presumably this should be
> reset to something else.  Do you suggest that we set the target
> machine to x64 or leave it unset or something else completely?
> 
> John
> 
> 
> On 1/17/12 8:38 AM, Dominique Prunier wrote:
>> Are you aware of people compiling FastBit for 64 bit targets ? Because of 
>> the memory usage, it seems that 64 bits is more suitable right ?
>>
>> -----Original Message-----
>> From: K. John Wu [mailto:[email protected]] 
>> Sent: Tuesday, January 17, 2012 11:33 AM
>> To: FastBit Users
>> Cc: Dominique Prunier
>> Subject: Re: [FastBit-users] FastBit on Windows
>>
>> Hi, Dominique,
>>
>> In directory win there is a set of files for building FastBit with
>> VisualStudio.  The main file is named ibis.sln.  The tester for C API
>> is named tcapi.c and it is compile with a FastBit DLL.
>>
>> The configuration is for Win32 platform only, I have compiled the
>> source code on 64-bit machines with no apparent problems.  Personally,
>> I used to do most of my own coding and debugging on a windows machine.
>>  The basic code should be therefore quite solid.  However, as you've
>> noticed already, there is always something to watch out;-)
>>
>> Good luck and please feel free to let me know if you spot anything
>> that is of concern.
>>
>> John
>>
>>
>> On 1/17/12 8:14 AM, Dominique Prunier wrote:
>>> Hi,
>>>
>>>  
>>>
>>> I have several questions related to FastBit on Windows:
>>>
>>> ·         Do both 64bits and 32bits versions exists ?
>>>
>>> ·         What is the level of testing/quality/... of the windows
>>> build (note that i intend to use the C API only)
>>>
>>>  
>>>
>>> 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
> 
> 
> 
> _______________________________________________
> 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