Posted by
Norbert Irmer on
Apr 14, 2010; 2:32pm
URL: http://quantlib.414.s1.nabble.com/Quantlib-with-Sunstudio-12-1-on-Solaris-2-10-Sparc-tp13400p13404.html
Yes, "__SUNPRO_CC", e.g.:
#ifdef __SUNPRO_CC
#include <unistd.h>
#endif
-----Ursprüngliche Nachricht-----
Von: Luigi Ballabio [mailto:
[hidden email]]
Gesendet: Mittwoch, 14. April 2010 11:51
An: Norbert Irmer
Cc:
[hidden email]
Betreff: Re: AW: [Quantlib-dev] Quantlib with Sunstudio 12.1 on Solaris 2.10/Sparc
On Tue, 2010-04-13 at 15:51 +0200, Norbert Irmer wrote:
> Sunstudio is an IDE plus compiler (successor of Sun-Forte, -WorkshopPro, or
> whatever names, this product ever had:). The IDE uses NetBeans, and the
> Debugging is very professional, reliable and robust on Sparc platforms
> (like in Visual Studio, KDevelop+GCC+GDB cannot compare to this!).
Ok. Is there any #define that I can test for if I want to check whether
I'm using the Sun Studio compiler? (as in, e.g., #ifdef __MINGW32__ to
check for the MinGW compiler.)
Thanks,
Luigi
--
All generalizations are false, including this one.
-- Mark Twain
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev