Home Comments

compile with GCC

jeyleejeylee Member jey leeOrganization: tencentProject: cm
I wanted to compile ice with GCC on HP-UX.
Can you supply the solution?

thanks

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    We currently only support aCC on HP-UX. However, chances are that Ice would compile just fine with GCC on HP-UX. You'll however need to change the build system configuration files to try this, you can use config/Make.rules.Linux or config/Make.rules.SunOS as examples.

    Of course, if you have a commercial need for this platform/compiler combination, we can provide support for it. If this is the case, please contact us at [email protected]!

    Benoit.
  • Andreas SchererAndreas Scherer Member Andreas SchererOrganization: Private Linux SiteProject: Evaluating Ice-C++, Ice-Python, Ice-Ruby ✭✭
    Benoit,

    I have a similar request for improved portability: Wouldn't it be better to use a more restrictive tag than the ubiquitous WIN32 to distinguish the VS/.NET port? (Like MSVC or something more "personalized" the MS-IDE sets.)

    I've had no success trying to run Bloodshed/MinGW/g++3.4.2-4-Win32 on the sources (yes, it sets WIN32 as well), although g++ is well supported on Linux.

    Andreas
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Yes, there are a few places where we should use _MSC_VER instead of _WIN32. We'll try to address this issue for Ice 2.2.

    Cheers,
    Bernard
Sign In or Register to comment.