[Top][All Lists]

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

Re: [Tinycc-devel] library search path

From: Vittorio Giovara
Subject: Re: [Tinycc-devel] library search path
Date: Thu, 19 Sep 2013 09:46:02 +0200

On Tue, Sep 10, 2013 at 2:09 PM, Thomas Preud'homme <address@hidden> wrote:
> 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.

Here is another stab at this, with even less changes :)

Attachment: 0001-set-the-user-defined-library-search-paths-first.patch
Description: Binary data

reply via email to

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