Re: [AD] Magic main UNIX, final (?) take

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri, Aug 27, 2004, Evert Glebbeek wrote:

> >    In fact it should link with liballeg-4.1.so and liballeg-4.1.so
> > should be a symbolic link to the real library liballeg-4.1.so.x.
> 
> Even though they would be incompatible for different values of x?

   Yes, x is the library's major number and is supposed to increase with
each API change in the library.

> A program compiled with Allegro 4.1.15 can/will fail to work properly with 
> allegro 4.1.14 or 4.1.16. Conversely, a program compiled with 4.1.16 will 
> fail to run with 4.1.15.

   A program compiled with 4.1.16 will be linked with liballeg-4.1.so.16
and liballeg-4.1.so.15 can be installed at the same time, which means
no recompilations. Only the liballeg-4.1.so symbolic link needs to be
changed (which is often shipped in a generic -dev binary package, while
the real libraries are each in their own versioned package).

   By the way, is there any interest in using libtool and/or automake? I
can provide some help with the whole process.

Regards,
-- 
Sam.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/