On Mon, Mar 06, 2000 at 07:09:28PM +0100, Assar Westerlund wrote:
> Hi.  Two questions:
> 
> 1. Why are the *.la files installed?  The comment says:
> 
>       # Install the pseudo-library for information purposes.

They are installed so that you can link against them with libtool:

  libtool --mode=link gcc -o foo bar.c libbaz.la

> 2. How do you link against an installed library?
> 
> As far as I can tell, there's no support of doing that.  And it would
> seem to me that libtool is the ideal program that's already sick of
> all the different magic that has to be done to be able to figure out
> if to link against a shared or static library, and what's the required
> combination of -rpath, -R or what-not on this particular OS.  Is it
> just not implemented?  And should bury myself in libtool to fix this
> or is there somebody actually volunteer/working on it?

It has been working forever!

  libtool --mode=link gcc -o foo bar.c -L/usr/local/lib -lbaz
  
Cheers,
        Gary.
-- 
  ___              _   ___   __              _ mailto:[EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \      
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Reply via email to