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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:52:20+00:00 2026-06-10T23:52:20+00:00

When it comes to using the terminal to build libraries manually and such I

  • 0

When it comes to using the terminal to build libraries manually and such I unfortunately do not have much experience and I’m stuck a bit here.

I’ve downloaded a library for objective-c which came with makefiles and such.

I can see that the folder also contains an executable file called “libtool”, I did some searching and I suppose this is the program I have to use to build the neccessary .a files? Unfortunately I couldn’t really find any useful article for this that seemed to work.

The folder for the library contains some .sh files, .pc files and also some .la files, but I’m a bit unsure of which ones I have to use as input to the libtool program to compile them into a .a file.

So my question is what files do you have to input into libtool to compile them into the necessary .a file? And what commands do you use exactly to accomplish this?

Thank you all for your time 🙂

  • 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-06-10T23:52:21+00:00Added an answer on June 10, 2026 at 11:52 pm

    First a little introduction to static libraries:

    Static libraries in Unix environments (like Mac OSX, and Linux too) are actually just an archive of object files created by the ar command line program.

    That is what the .a extension stands for: Archive.

    To create a static library with some object files you can use the command like this:

    ar crv libmy_library.a objectfile1.o objectfile2.o
    

    As for your actual question, libtool should be called automatically from the makefile, creating the library, which is the file ending in .la. However, this is not the real library, the real library is in a hidden directory. You can find it by doing e.g.

    find . -name '*.a'
    

    But like I said, the makefile should already take care of everything, including installing the correct library in the correct place when you do e.g. make install.

    For information about libtool, see this site.

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

Sidebar

Related Questions

I have an issue using jquerys selectors when it comes to a page I
I am a newbie when it comes to using WinAPI. I am following a
I am a beginner when it comes to using mysql queries embedded inside other
I am missing something basic when it comes to using MEF. I got it
There is a well known issue when it comes to using .NET value types
When using PHP API posts ' likes comes in this detailed format [likes] =>
I am using RTextTools to train and classify data which comes from a MySQL
I'm using the CUDA .rules file which comes with the CUDA SDK for custom
This code comes from: http://code.activestate.com/recipes/577090-file-encryption-using-stream-cipher/ import sys import random if len(sys.argv) != 4: print
I'd been using OCUnit (the default installation that comes with XCode) in XCode 3.0.

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.