Re: [Mingw-w64-public] build boxes

2013-01-06 Thread Jim Michaels
even though I can't supply the machine, I thought the techniques could be useful. most computers are multicore nowadays, so there is a capability for parallel builds. to find out how much memory per thread or core you have, divide the available RAM by the number of cores. the individual compiler

Re: [Mingw-w64-public] [Quickfix-developers] [Mingw-users] Re: QuickFIX under MinGW

2013-01-06 Thread K. Frank
Hello Sergio! On Sun, Jan 6, 2013 at 2:04 PM, Info wrote: >> I am taking the liberty of copying this to the QuickFIX, mingw, >> and mingw64 lists. > > No worries. I hope they're interested! > >> Do I understand your comment correctly that you have built QuickFIX with >> mingw? > > QuickFIX builds

[Mingw-w64-public] [Quickfix-developers] [Mingw-users] Re: QuickFIX under MinGW

2013-01-06 Thread K. Frank
Hi Sergio! Thanks for your reply and the very interesting data point that you've got this working. I am taking the liberty of copying this to the QuickFIX, mingw, and mingw64 lists. On Sun, Jan 6, 2013 at 11:33 AM, Info wrote: > > Ciao Frank. > > Any update/news on this issue? I'm a MinGW user

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread K. Frank
Hello Ray! On Sun, Jan 6, 2013 at 11:35 AM, Ray Donnelly wrote: > I've had a quick look at the source code and it's littered with stuff like: > > #ifdef _MSC_VER > #include Yes, this is indeed the case. but this is actually good because there is (appears to be) a single cross-platform code bas

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread NightStrike
On Sun, Jan 6, 2013 at 11:35 AM, Ray Donnelly wrote: > I've had a quick look at the source code and it's littered with stuff like: Kudos for looking at the source! :) > #ifdef _MSC_VER > #include > ... > > So the fact is that the code itself conflates Windows builds with the > MSVC compiler vi

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ray Donnelly
Yes, That's precisely what I meant by the word "conflates". On Sun, Jan 6, 2013 at 4:41 PM, Earnie Boyd wrote: > On Sun, Jan 6, 2013 at 11:35 AM, Ray Donnelly wrote: >> I've had a quick look at the source code and it's littered with stuff like: >> >> #ifdef _MSC_VER > > Which is the wrong MACRO

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Earnie Boyd
On Sun, Jan 6, 2013 at 11:35 AM, Ray Donnelly wrote: > I've had a quick look at the source code and it's littered with stuff like: > > #ifdef _MSC_VER Which is the wrong MACRO to detect Windows build. It is the right MACRO to detect using MSVC. > #include > ... > > So the fact is that the code

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ray Donnelly
I've had a quick look at the source code and it's littered with stuff like: #ifdef _MSC_VER #include ... So the fact is that the code itself conflates Windows builds with the MSVC compiler via _MSC_VER ..you could in theory do something awful like ./configure CFLAGS="-D_MSC_VER=" but the confla

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread JonY
On 1/6/2013 21:38, Ruben Van Boxem wrote: > > I'll try to clarify my point one more time: yes it is possible in autotools > to exclude code depending on configure. But that is not an autotools > specific feature. Code and/or build systems not meant to be used on > platforms that weren't in the dev

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread K. Frank
Hi Ruben (and Peter) - First, thanks to everyone for their comments. This discussion has been very informative and helpful. Before commenting inline, below, please let me semi-hijack this section of the thread with a comment to Peter: I've downloaded (but not yet installed) CodeLite, and have b

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ruben Van Boxem
2013/1/6 JonY > On 1/6/2013 20:55, Ruben Van Boxem wrote: > > > > To get this thread back on-topic and to prove my point (even with > autotools > > if you didn't have a platform in mind it probably won't work out of the > > box), I tried the quickfix autotools and got (the half-expected): > > > >

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread JonY
On 1/6/2013 20:55, Ruben Van Boxem wrote: > > To get this thread back on-topic and to prove my point (even with autotools > if you didn't have a platform in mind it probably won't work out of the > box), I tried the quickfix autotools and got (the half-expected): > > libtool: compile: x86_64-w64

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ruben Van Boxem
2013/1/6 JonY > On 1/6/2013 18:54, Kai Tietz wrote: > > I'm thinking (perhaps wrongly) that if I start with the unix configure > script, I'll be more likely to get bumped over into unix-style, > pthreads > and posix sockets land, where if I start on the visual studio side, I >

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread JonY
On 1/6/2013 18:54, Kai Tietz wrote: I'm thinking (perhaps wrongly) that if I start with the unix configure script, I'll be more likely to get bumped over into unix-style, pthreads and posix sockets land, where if I start on the visual studio side, I might be more likely to end

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ruben Van Boxem
2013/1/6 Kai Tietz > 2013/1/6 Ruben Van Boxem : > > Op 6 jan. 2013 02:21 schreef "JonY" het > > volgende: > > > > > >> > >> On 1/6/2013 05:49, K. Frank wrote: > >> > I don't currently have msys or a unix emulator set up. So the > >> > suggestion to try out the configure script "just to see" inv

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Kai Tietz
2013/1/6 Ruben Van Boxem : > Op 6 jan. 2013 02:21 schreef "JonY" het > volgende: > > >> >> On 1/6/2013 05:49, K. Frank wrote: >> > I don't currently have msys or a unix emulator set up. So the >> > suggestion to try out the configure script "just to see" involves >> > a little more work than just

Re: [Mingw-w64-public] [Mingw-users] Thoughts on how to build a linux / visual studio project (QuickFIX) with mingw

2013-01-06 Thread Ruben Van Boxem
Op 6 jan. 2013 02:21 schreef "JonY" het volgende: > > On 1/6/2013 05:49, K. Frank wrote: > > I don't currently have msys or a unix emulator set up. So the > > suggestion to try out the configure script "just to see" involves > > a little more work than just trying it out. > > > > Feels handicappe