Results 1 to 3 of 3

Thread: Compiling on Solaris 10...

  1. #1
    AlexBell is offline Registered User
    Name: Alex Bell
    Organization: The Boeing Company
    Project: Airborne C4ISR
    Join Date
    Dec 2010
    Posts
    11

    Compiling on Solaris 10...

    Context: Ice 3.4.1
    Sun Studio 12/gcc 3.4.2 (yes, you saw it right!)
    Solaris 10
    gmake 3.79.1

    I have been successful with my Android testing in the context of Ice 3.4.1 and now want to use IceStorm to publish topics to an Android from the context of C++/Solaris10.

    It seems that the supported C++ compiler changed between Ice 3.3.1 and 3.4.1 (sunstudio12 CC to GCC 4.3.2). It is a long and painful story, but, my first question is, do you still support the CC world in Ice 3.4.1 at all?

    The second question is this....I am running gmake in the Ice-3.4.1-demos/demo/Ice/hello directory and am getting an unresolved symbol in ......../bin/slice2cpp: symbol _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13ba sic_ostreamIT_TO_ES6_PKS3_i: referenced symbol not found. It might be impossible to say, but is such an error indicative of outdated gcc/gmake on our systems?

    I don't think I am being a knucklehead this time in my quest for support....but fear that I am a victim of *old* software in the gmake/gcc worlds which we have not updated...because we are not using these things. My life would be much easier if I knew there was a path to the promised land thru sunstudio and "make"....so I would not have to deal with the IT hassles of getting the "gnu" side of things updated. Does this path to the promised land exist?

    Thanks in advance for your help and insight.

    ALex
    Last edited by AlexBell; 03-15-2011 at 06:24 PM. Reason: typo

  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 Alex,

    We no longer support any version of Sun CC with Ice 3.4. If you need to use this compiler with Ice, you will need to build Ice and some third-party libraries used by Ice with this C++ compiler, which shouldn't be too difficult. One question is which standard library to use (the default is very old and limited, or the old stlport library that ships with the compiler ... no obvious choice unfortunately).

    It is of course easier to use the binaries we provide, together with the compiler we support, the CoolTools GCC 4.3.2 for Sun Systems:
    Cool Tools at OpenSPARC T1

    This compiler is not installed by default on your Solaris/SPARC system.

    You may also find some helpful information in this thread:
    Building Ice (cpp) on Solaris 10 (sparc)

    Note that this thread is about building Ice and third-parties dependencies on Solaris 10 with this GCC compiler. You don't need to do all that; you can/should simply use the Solaris binaries from http://www.zeroc.com/download.html. Darren needs to build Ice from sources because the Asterisk SCF team made a number of changes to our source code.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    AlexBell is offline Registered User
    Name: Alex Bell
    Organization: The Boeing Company
    Project: Airborne C4ISR
    Join Date
    Dec 2010
    Posts
    11

    Solaris 10 usage of Ice 3.4.1

    Thanks Bernard....I abandoned my quest of using "Sun CC" for my Ice testing, downloaded the "GCC for Sun Systems" tar files, adjusted my develoment environment, and am now rocking....thanks. Perhaps there were release notes that I did not see or ?, but it was not entirely obvious to me that the "Sun CC" world was no longer supported as I was trying to use it.

    In any event....thanks again for the course correction!


    ALex

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compile Error on Solaris 10
    By crozzfire in forum Bug Reports
    Replies: 5
    Last Post: 12-16-2009, 03:13 PM
  2. Solaris 8 (SPARC) or Solaris 10 x86 support?
    By Ian James in forum Help Center
    Replies: 3
    Last Post: 06-29-2007, 10:16 AM
  3. Solaris 8 or 10
    By dgdillaman in forum Help Center
    Replies: 3
    Last Post: 10-12-2006, 09:13 AM
  4. I can use the Ice on Solaris 8 and Solaris 10?
    By tjl02040 in forum Help Center
    Replies: 1
    Last Post: 09-07-2006, 09:06 AM
  5. Replies: 1
    Last Post: 11-17-2005, 09:17 AM

Posting Permissions

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