• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Link against a ".la" file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link against a ".la" file


  • Subject: Re: Link against a ".la" file
  • From: "D. Walsh" <email@hidden>
  • Date: Thu, 9 Mar 2006 17:35:02 -0500
  • Mta-interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com


On Mar 9, 2006, at 13:53 , Jonathan Taylor wrote:

I've strayed into unix-y areas of OS X that I'm not familiar with, and I wonder if anyone can help. I'm trying to get Xcode to link against a ".la" file. I've installed GSL (Gnu Scientific Library) and built it according to the instructions (from the command line). This has created a file libgsl.la which I think is what I need to link my code against. Unfortunately Xcode doesn't recognise that file extension, and treats the file as a text file when I add it to my project.

Can anyone shed any light on exactly what a '.la' extension means, and how I can add it to the project? I'm vaguely aware of '.a' as an object code archive, but I've never come across this one. Doesn't seem to be anything in the list archives about this...

First, the .la file only contains information about the library to be loaded like it's exact name and any other dependent libraries that must also be linked with it.


You can open the file in the editor and you will see what libraries are being uses, these are what must be linked, I've had mixed results in using the .la files in XCode projects that I found it better to just add the required libraries to the project that are listed in the file because I couldn't get it to always add the libraries in different projects.

Thanks for any suggestions
Jonny
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40daleenterprise.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Link against a ".la" file (From: Jonathan Taylor <email@hidden>)

  • Prev by Date: Target ignoring search headers
  • Next by Date: Re: Something strange
  • Previous by thread: Re: Link against a ".la" file
  • Next by thread: Target ignoring search headers
  • Index(es):
    • Date
    • Thread