From: Sven Neumann <s.neumann@phase-zero.de>
To: buildroot@busybox.net
Subject: [Buildroot] On the usefulness of .la files and .pc files
Date: Wed, 18 Mar 2009 18:24:45 +0100 [thread overview]
Message-ID: <1237397085.6302.16.camel@sven> (raw)
In-Reply-To: <20090318174450.2641b85d@surf>
Hi,
On Wed, 2009-03-18 at 17:44 +0100, Thomas Petazzoni wrote:
> When compiling libraries using libtool, a .la file gets installed
> in /usr/lib. It defines several informations such as :
>
> * The names of the library ;
> * The dependencies of the library ;
> * The directory where the library is installed ;
> * A few other informations.
This tells libtool how to link a particular library. This is mainly
useful on platforms that need libraries to be explicitly linked. On
Linux this is actually not needed and you may safely remove those files.
> Many libraries also install a .pc file in /usr/lib/pkgconfig/. It also
> describe the dependencies, the library name, the flags to compile new
> applications/libraries on top of the library, etc.
This gives hints on to compile stuff against the library. It is much
more useful than the .la files as it allows to easily check for the
presence of a library, it's version, dependencies and what compiler
flags are needed.
Sven
next prev parent reply other threads:[~2009-03-18 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 16:44 [Buildroot] On the usefulness of .la files and .pc files Thomas Petazzoni
2009-03-18 17:24 ` Sven Neumann [this message]
2009-03-18 18:47 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1237397085.6302.16.camel@sven \
--to=s.neumann@phase-zero.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox