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 6108067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:15:24+00:00 2026-05-23T14:15:24+00:00

Our project is a cross-platrorm, open-source implementation of some programming language. In addition to

  • 0

Our project is a cross-platrorm, open-source implementation of some programming language. In addition to a command-line executable to execute programs in that language, it also provides a C++ API and library that the user can use to add their own modules.

I’m trying to decide whether it’s worth it (or even if it even makes sense) to provide our stuff as a framework (via a .pkg file) for Mac OS X. If we do nothing, then there is still the make install target that would put everything into /usr/local/include, /usr/local/lib, etc.

Our implementation requires some 3rd-party libraries, e.g., Xerces and ICU. Can/should pre-built versions of these libraries be considered “resources” and bundled in a framework? Is this a legitimate way to distribute 3rd-party libraries?

  • 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. Editorial Team
    Editorial Team
    2026-05-23T14:15:24+00:00Added an answer on May 23, 2026 at 2:15 pm

    I like frameworks, they keep things tidy. A framework would make it easier to use your library with Xcode, but it would also be convenient for command-line usage (-framework MyCoolLang). People can then #include and use your headers without setting up separate search paths.

    This means that you should be putting your headers in /usr/local/include/MyCoolLang/{foo,bar}.h on other platforms as well, so that people can use the same relative include paths. You should be doing this anyway since it’s tidier.

    If you must support include paths with no subdirectories, eg #include , and/or if you want to support traditional compiler options like -lMyCoolLang when compiling from the command line (as an alternative to -framework), you can symlink the headers and/or the libraries into /usr/local/lib and include. This is still better than dumping the actual files in there because someone can just ls -l /usr/include and tell exactly which headers belong to your framework by the symlink path.

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

Sidebar

Related Questions

What are some good authoring tools for creating cross-platform help files for end-users? (Our
In our project now we using log4cxx, but those library don't develope some years,
In our project we are using some django reusable apps, we are considering how
Our project does some Java bytecode instrumentation. And we stumbled upon some strange behavior.
Our project is running on Windows CE 6.0 and is written in C++ .
Our project is held in a SourceSafe database. We have an automated build, which
Our project has one folder that is not part of the solution. How can
Our project currently uses Crystal Reports for Visual Studio 2008. We need to upgrade
Our project constitutes of many modules (e.g. a HR management system containing modules like
In our project the Java webservice communicate with the backend program written in C

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.