tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] library search path


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] library search path
Date: Tue, 10 Sep 2013 14:09:57 +0200
User-agent: KMail/4.10.5 (Linux/3.10-1-amd64; KDE/4.10.5; x86_64; ; )

Le lundi 9 septembre 2013 16:32:48 Vittorio Giovara a écrit :
> On Mon, Sep 9, 2013 at 3:47 PM, Thomas Preud'homme <address@hidden> 
wrote:
> > 
> > Indeed. Tcc add directories to search for libraries at the end of the
> > existing list. Since there is only one global list, they are searched
> > after the default directories. What should be done is to separate search
> > path between default and non default like is done for includes. Search
> > path need to be added in order (think -Ldir1 -Ldir2) but user provided
> > path should be searched first.
> > 

> 
> Is something like this acceptable?

It won't work in all cases. When a program is using libtcc, it won't necessary 
call tcc_parse_args or tcc_set_options. But indeed, this approch modify much 
less lines than the one I was envisioning.

> 
> Thanks,
> Vittorio

Thanks for tackling this issue.

Best regards,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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