Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 65435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:56:46+00:00 2026-05-10T18:56:46+00:00

For a upcoming project, there are plans to port the existing C++ code that

  • 0

For a upcoming project, there are plans to port the existing C++ code that compiles on Windows and Linux to the MacOS(leopard). The software is command line application, but a GUI front end might be planned. The MacOS uses the g++ compiler. By having the same compiler as Linux, it does not seem like there would be any issues, but there always are.

Are there any recommendations or problems to watch out for during the port?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:56:46+00:00Added an answer on May 10, 2026 at 6:56 pm

    Does your app have a GUI, and which one (native / Qt / Gtk+)?

    If not, the issues to watch out for (compared to Linux) are mainly in the dynamic linkage area. OS X uses ‘-dylib’ and ‘-bundle’ and in fact has two kinds of dynamic libraries (runtime loadable and the normal ones). Linux has only one kind (-shared), and is looser on this anyways.

    If your app has a GUI, you’ll need to recode the whole thing in Cocoa, using Objective-C. Meaning you’ll be into a new language as well. Some people (like MS) have used Carbon (C++ API), but it’s being phased out. I wouldn’t recommend that to new projects.

    Your best luck is using Qt or Gtk+. A native Gtk+ port has been (re)announced just some days ago (see Imendio).

    p.s. OS X does of course run X11 binaries, too, but pushing that to any of your customers might be a hard road. They’re used to Aqua interface, and productive with that. Consider X11 only a very short term solution.

    p.p.s. The number of open source addon libs coming with OS X is limited, and their versions might lack behind. Whereas in Linux you can easily require users to have ‘libxxx v.y.y’ installed, in OS X there are multiple packaging approaches (fink, macports) and for a commercial tool the required libraries are expected to be contained in the application. OS X offers ‘application bundles’ and ‘frameworks’ for this (local copies, making the application self-sufficient). Linux does not have such a concept. This will have a great effect on your build system as well; maybe you’ll want to try something like SCons for all platforms?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An upcoming project of mine is considering a design that involves (what I'm calling)
Premise : The requirements for an upcoming project include the fact that no one
For an upcoming project C# code needs to be written around a legacy Oracle
I've got an upcoming project wherein I will need to connect our website (
I'm interested in using an Object-Relational Mapping package for an upcoming project. This project
The following have been proposed for an upcoming C++ project. C++ Coding Standards, by
In the upcoming Java7, there is a new API to check if two file
I am building an applicaiton for the iPhone that will display upcoming and past
I'd like to use C#, Java and PHP in an upcoming project. What potential
An upcoming project at work looks like it might involve Silverlight. We're a .NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.