[zeromq-dev] Build fixes for Sun Studio and ICC

Steven McCoy steven.mccoy at miru.hk
Fri Oct 15 11:36:24 CEST 2010

On 15 October 2010 17:32, Martin Lucina <mato at kotelna.sk> wrote:

> Presumably ICC is passing the check for "gnu compilers" in it's pretense to
> be GCC?
It can be forced to emulate a GCC version but unsurprisingly it's broken:

-gcc      Predefine the "__GNUC__", "__GNUC_MINOR__", and
-no-gcc   Do not predefine GNUC macros listed in -gcc mode. Warning: can
          prevent correct system header compilation, see -gcc-sys
-gcc-sys  same as -no-gcc, except that the GNU macros are defined only while
          prototypes (before instantiation). Requires -gcc-version=340 or
          name and location of gcc if not where expected
          specify the <version> of gcc compatibility.  Default value matches
          gcc version installed.  Major/Minor versions listed but patch
            320 - gcc 3.2.x compatibility
            330 - gcc 3.3.x compatibility
            340 - gcc 3.4.x compatibility
            400 - gcc 4.0.x compatibility
            410 - gcc 4.1.x compatibility
            420 - gcc 4.2.x compatibility
          link libgcc dynamically
          link libgcc statically
          link using C++ run-time libraries provided with gcc dir is an
          optional top-level location for the gcc binaries and libraries
-cxxlib-gcc[=dir]        use -cxxlib[=dir]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101015/e30b7272/attachment.htm>

More information about the zeromq-dev mailing list