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

  • SEARCH
  • Home
  • 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 6115063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:02:53+00:00 2026-05-23T15:02:53+00:00

I have a cross-platform shared library, and I am using GNU autotools for the

  • 0

I have a cross-platform shared library, and I am using GNU autotools for the build system. I would like to be able to package the library as a framework on OS X. Is it possible to do this with autotools + additional scripting e.g. bash?

Is there any good documentation for doing this, or does anyone know an example of a project that does this, which I could copy?

  • 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-23T15:02:54+00:00Added an answer on May 23, 2026 at 3:02 pm

    A framework is a glorified directory that includes a metadata file (Info.plist) and one or more libraries. I’m not sure if there’s autotools support for frameworks but something like:

    # create/cd MyFramework.framework
    mkdir MyFramework.framework
    cd MyFramework.framework
    
    # create/cd MyFramework.framework/Versions    
    mkdir Versions
    cd Versions
    
    # create/cd MyFramework.framework/Versions/A
    mkdir A
    cd A
    
    # create MyFramework.framework/Versions/A/MyFramework (the dylib)
    cp /path/to/mylibrary.dylib MyFramework
    
    # create MyFramework.framework/Versions/A/Resources
    mkdir Resources
    
    # create MyFramework.framework/Versions/A/Resources/Info.plist
    cp /path/to/Info.plist Resources
    
    # cd to MyFramework.framework/Versions
    cd ..
    
    # create MyFramework.framework/Versions/Current -> A
    ln -s A Current
    
    # cd to Myframework.framework
    cd ..
    
    # create MyFramework.framework/MyFramework -> Versions/Current/MyFramework
    ln -s Versions/Current/MyFramework MyFramework
    
    # create MyFramework.framework/Resources -> Versions/Current/Resources
    ln -s Versions/Current/Resources Resources
    

    should be enough given a properly defined Info.plist file and mylibrary.dylib.

    For more information about the framework directory structure and the contents of Info.plist, see the Framework Programming Guide.

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

Sidebar

Related Questions

I've making a shared library (cross-platform), but when trying to compile the Windows build
I have a need for a cross-platform (hopefully C) library that can create and
I would like to implement/use-existing a cross platform configuration settings tool like about:config in
I am writing a cross platform shared library ( .so in linux and .dll
I have a cross-platform application (game). It uses SDL library. I can't link it
I have a cross platform c++ program where I'm using the boost libraries to
I'm writing cross-platform x86/x86-64/Itanium code oriented towards high performance and would like to avoid
I have a cross platform program that runs on Windows, Linux and Macintosh. My
I have some cross platform DNS client code that I use for doing end
I have been trying to learn a cross platform language with a fast learning

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.