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



-----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-----
# libgtkmm-2.0.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libgtkmm-2.0.so.1'

# Names of this library.
library_names='libgtkmm-2.0.so.1.5.2 libgtkmm-2.0.so.1 libgtkmm-2.0.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib /usr/local/lib/libsigc-1.2.la /usr/lib/./libstdc++.la -L/usr/i386-slackware-linux/bin -L/usr/i386-slackware-linux/lib /usr/lib/libgtk-x11-2.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/libatk-1.0.la /usr/lib/libgdk_pixbuf-2.0.la /usr/lib/libpangoxft-1.0.la /usr/lib/libpangox-1.0.la /usr/lib/libpango-1.0.la /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la -ldl /usr/lib/libglib-2.0.la /usr/lib/./libstdc++.la'

# Version information for libgtkmm-2.0.
current=6
age=5
revision=2

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib'


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