Re: [Quickfix-developers] Build Quickfix with Sun SPRO compiler 6.2 or 8.0
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-09-11 02:56:22
|
I applied the patch. I did make a coupld of changes. You made a change directly referencing std::labs. We need to be careful of these since some STL implementation do not define it in the std namespace (MSV6 for instance). Instead I set it back to just labs and included Utility.h at the top of the file. This will add a using std::labs for systems where it is in the std namespace. This way everywhere we can refer to it as just labs. Instead of commenting out the SessionIDTestCase in TestSuite.h, I surrounded those lines with a #if !defined(__SUNPRO_CC), and left a note for someone to take a look at it. As for the AR_FLAGS, I would expect that autoconf would be doing that work in the AC_PROG_CXX macro. What version are you using? Maybe a newer version will handle this. Can you put together a little blurb about what you did to get these setting in so I can add it to the documentation? --oren On Sep 9, 2004, at 10:35 AM, Caleb Epstein wrote: > On Thu, 09 Sep 2004 09:58:48 +0200, Joerg Thoennes > <joe...@ma...> wrote: >>> Has anybody tried to build quickfix 1.9.0 with sun compilers? >> >> Yes, check mailing list archive for recent mails from Kristopher >> Peterson. QF 1.9.0 should be able to be compiled with SunPRO 5.3 > > Unfortunately, 1.9.0 doesn't compile out of the box with SunPRO 5.3. A > number of things from Kristopher's original patch seem not to have > made it into CVS. Among them: > > * Remove -Wall from configure and configure.in > * Remove -lstdc++ from all Makefiles > * For "configure", AR must be CC (or the full path to it) and AR_FLAGS > must contain "-xar -o". There ought to be some automated way for > configure to detect this, otherwise the user must specify them > manually when running configure, so this should be mentioned in the > installation docs. > * SessionIDTestCase is generating unresolved externals for me. Not > sure why, but I had to comment it out from TestSuite.h to get 'ut' to > compile. > > I'm attaching the patches I needed against stock 1.9.0 to get things > to build > > -- > Caleb Epstein > cal...@gm... > <quickfix-1.9.0-sunpro-5.3-build.patch> |