Le lundi 9 septembre 2013 16:32:48 Vittorio Giovara a écrit :
> On Mon, Sep 9, 2013 at 3:47 PM, Thomas Preud'homme <[email protected]> 
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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to