Re: [gtkmm] RPMs/spec files/files with the extention .la



Thanks for the bit of info. I knew about shared objects (.so's) and I
was pretty sure the .a's were static obj's... that's why I was curious
about the .la. 

I wish I understood why whoever wrote the packaging script would not
want to package the .la file too.

James

On Wed, 2003-06-25 at 12:36, Andrew wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> *la files do not contain object code. They contain info about the 
> corrisponding libraries (static and/or dynamic). *.a are static libraries and 
> *.so are dynamic libraries. They are used while linking. See the attached 
> file.
> 
> On my slackware distro /usr/lib contains *.a, *.so and *.la files. I do not 
> know anything about RedHat, sorry.
> 
> Andrea
> 
> On Wednesday 25 June 2003 19:22, James Richardson wrote:
> > Hello,
> >
> > I'm currently trying to put together a few spec files to build the
> > various gnomemm components.
> >
> > By looking at some spec files already created I noticed that they
> > explicitly 'rm -f %{_libdir}/*.la'. (for example gtkmm.spec). But some
> > of the components won't build with the .la files (libgnomeuimm for
> > example).
> >
> > In the stkmm.spec file I noticed a comment that said "newer redhats
> > don't use .la". So, what is a ".la" file? (i know it's some sort of
> > object code), Why would I not want to package it even if the linux
> > distro doesn't use them. And why would a distribution not use them?
> >
> > James
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE++d2tkL76YBIYEmwRAhMmAJ4y8SZfxd+nR0IsJslMkgvSxEnlpgCgqgrS
> CpTQYu8RbPfKBE8XTXeMzYY=
> =0aCE
> -----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]