Re: [anjuta-list] Dynamic library (.so)



Hi Igor,

Am 14.03.2016 um 00:48 schrieb Igor Korot:
However, when I tried to select "Target Type", I couldn't find anything related.
The closest I did find is "Shared Library (Libtool)". But giving
target name, then
selecting it and hitting "Add", I am getting "Shared library target name must
be of the form libxxx.la".

Why the extension is ".la" and not ".so"? Isn't it what the shared library name
should be on Linux?

Keep in mind that I don't have too much experience with autotools & friends.


The autotools friend you are getting to know here is libtool.

.la files are for platform independent creation of dynamic libraries.

Libtool will create an .so on Linux, a .dll on Windows, etc.

It can also be used for static libraries. It's a tool that makes libs, hence the name libtool :)

Some links:

https://en.wikipedia.org/wiki/GNU_Libtool

http://www.freesoftwaremagazine.com/articles/building_shared_libraries_once_using_autotools

https://stackoverflow.com/questions/1238035/what-are-libtools-la-file-for

-- 
Mit freundlichen Grüßen
Jens Mühlenhoff

Attachment: signature.asc
Description: OpenPGP digital signature



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