libtool
[Top][All Lists]
Advanced

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

Re: an easy question


From: Philip Willoughby
Subject: Re: an easy question
Date: Fri, 6 Dec 2002 17:39:42 +0000 (GMT)

Today, Jon Nall wrote:

>
>why do .la files have to store hard-coded paths of the .so files they
>reference? why aren't the names enough as ld.so should be able to query
>it's cache of library directories at runtime?
>
>i realize libtool runs on lots of OSes, and maybe my question is
>linux-centric. but i really would like to understand what's going on.

The full path allows libtool to add an appropriate -rpath flag to ld when
linking subsequent programs and libraries, this reduces the likelihood of
subsequent installations interfering with the installed programs.

Regards,

Philip Willoughby

Systems Programmer, Department of Computing, Imperial College, London, UK
-- 
echo address@hidden | tr "bizndfohces" "pwgd9ociaku"

Why reinvent the wheel? . . . . . . . . . Because we can make it rounder...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]