[ROOT] RE: ACLiC doc

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Sun Feb 23 2003 - 23:16:52 MET


Hi philippe,
I'm forwarding this mail to roottalk, it may be interesting to other
people, and I have one more question:

On Sat, 22 Feb 2003, Philippe Canal wrote:

> I don't think that there is any on liners.  However, note that library that
> have already been loaded are linked against.  Hence doing
> 	.L /my/path/anylib
> should have the desired effects.

Yes, but what if it is a static library that I want to link with ?
I'm left with your alternative below, which will work but is not very
handy.

> Another alternative is to do:
> 	TString libs = gSystem->GetLinkedLibs();
>       libs.Append("-L/my/path -lanylib");
>       gSystem->SetLinkedLibs(libs.Data());
> 

Cheers

Damir

> 
> Hi Philippe,
> 
> Thanks for this doc about ACliC. Is there a way to simply add some library
> paths (like -L/my/path -lanylib), as there is the .include directive for
> includes ?
> 
> Cheers
> 
> Damir
> 
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr
> 
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET