Re: Link against a ".la" file
Re: Link against a ".la" file
- Subject: Re: Link against a ".la" file
- From: Steve Checkoway <email@hidden>
- Date: Thu, 9 Mar 2006 12:21:41 -0800
On Mar 9, 2006, at 10:53 AM, 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...
.la is a libtool file. It just tells libtool how to deal with the
file. Check the .libs directory in the same directory as the .la
file. You should find libgsl.a in there that you can link against.
- Steve
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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