Results 1 to 3 of 3

Thread: MacOS X Port

  1. #1
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196

    MacOS X Port

    Hi,

    I've ported Ice to MacOS X 10.2! I've attached a tar.gz file containing explanations and patches (for Ice and XercesC). Porting Ice to MacOS X wasn't too difficult, the main problems were because of missing features in MacOS X (wstring, recursive mutex), MacOS X bugs (problem with signaling cond variable without locking the mutex, bug in libstd preventing dynamic library loading) and XercesC bugs! Also, MacOS X requires all symbols to be defined when linking shared libraries, so I had to change a bunch of Makefiles.

    Let me know if you have any issues using these patches!

    Benoit.
    Attached Files Attached Files

  2. #2
    marlowa is offline Registered User
    Join Date
    Feb 2003
    Location
    London
    Posts
    64

    Re: MacOS X Port

    Originally posted by benoit
    Hi,

    I've ported Ice to MacOS X 10.2! I've attached a tar.gz file containing explanations and patches (for Ice and XercesC). Porting Ice to MacOS X wasn't too difficult, the main problems were because of missing features in MacOS X (wstring, recursive mutex),
    Benoit.
    This is interesting. I am currently porting Ice to Solaris and have found that GCC on Solaris does not support wstring so I am using the Forte compiler, which does. However, I am gradually coming to the opinion that the Forte compiler is braindead. How did you overcome the lack of wstring on MacOS? I wonder if I could use a similar approach to get Ice to build on Solaris using GCC.

    -apm
    You are in a maze of twisty little passages, all different.

  3. #3
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    I've just commented out all the code in src/IceUtil/Unicode.cpp and the unicode test suite. Except for these stringToWString and wstringToString methods defined in this file, Ice doesn't use wstring.

    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Patch to build Ice-1.2.0 on MacOS X 10.3
    By benoit in forum Patches
    Replies: 15
    Last Post: 04-01-2009, 03:39 AM
  2. C Port
    By slide_o_mix in forum Help Center
    Replies: 1
    Last Post: 01-27-2008, 08:12 PM
  3. MacOS version wants to be in /opt
    By ctennis in forum Bug Reports
    Replies: 4
    Last Post: 07-05-2006, 08:02 AM
  4. MacOS 10.3 compile issues
    By StuartA in forum Help Center
    Replies: 2
    Last Post: 05-10-2005, 04:59 AM
  5. Ice on MacOS?
    By rbx in forum Help Center
    Replies: 5
    Last Post: 01-31-2004, 12:37 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
  •