Results 1 to 2 of 2

Thread: Help compiling Ice on Linux with Intel compiler

  1. #1
    kevinl is offline Registered User
    Join Date
    Jan 2004
    Location
    Colorado
    Posts
    1

    Help compiling Ice on Linux with Intel compiler

    I'm trying to build Ice on Linux to use in a product that deploys on RedHat
    7.3. The INSTALL.LINUX says to compile with either:
    - GCC 3.2
    - GCC 2.96 with STLport 4.5

    The RedHat 7.3 I'm using has 2.96 but we ship our product using the Intel 7.0 C++
    compiler so before I try to upgrade my compiler to 3.2 (I spent a few hours on
    this and still haven't figured out all the rpm dependencies) I thought I try
    the Intel compiler on Ice. The problem I've run into is in building various
    header files from the ...src/Ice directory, one example is Identity.ice. I've
    built it on a RedHat 9.0 system which has a gcc 3.2 compiler and show the
    different results I get to the Intel compiler. The error occurs on the last
    few lines of the generated .h file which results in a source file including them
    to file compiling (the ??? should have been replaced with ::Ice::Identity).


    include/Ice/Identity.h (from slice/Ice/Identity.ice)
    incorrect (generated by intel 7.0 compiler on RedHat 7.3):
    typedef ::std::map<???, ::Ice::ObjectPtr> ObjectDict;
    typedef ::std::vector<???> IdentitySeq;

    correct (generated by gcc 3.2 compiler on RedHat 9.0):
    typedef ::std::map< ::Ice::Identity, ::Ice::ObjectPtr> ObjectDict;
    typedef ::std::vector< ::Ice::Identity> IdentitySeq;


    Any suggestions...

    kevin

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Kevin,

    Unfortunately the Intel C++ 7.0 compiler is no longer available from the Intel web site. Maybe you could upgrade to 8.0? I just posted a patch that adds support for this compiler: see http://www.zeroc.com/vbulletin/showt...=&threadid=407.

    Cheers,
    Bernard

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-19-2007, 02:18 PM
  2. Intel(R) C++ Compiler 9.0
    By level in forum Help Center
    Replies: 1
    Last Post: 06-15-2005, 04:02 AM
  3. Intel compiler on Windows
    By DeepDiver in forum Bug Reports
    Replies: 2
    Last Post: 01-03-2005, 03:57 AM
  4. Ice for non-Intel systems (SPARC)
    By fmccor in forum Comments
    Replies: 15
    Last Post: 03-07-2003, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •