[fpc-devel] Re: crti.o problem

Henry Vermaak henry.vermaak at gmail.com
Tue Nov 8 16:34:02 CET 2011


On 8 November 2011 14:51, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> On 8 November 2011 14:38, Henry Vermaak <henry.vermaak at gmail.com> wrote:
>> Sorry, bad assumption, it's not the compiler.  Fpcmake adds all the
>> entries in /etc/ld.so.conf, which gets added in turn to -Fl option(s).
>>  The problem is that the entries in /etc/ld.so.conf may contain
>> wildcards.  Using $(wildcard $var) won't work if the entry doesn't
>> contain a pattern, though, so each entry will have to be checked for
>> wildcards.
>
> Actually, a solution would be to add this to fpcmake.ini:
>
> OTHERLIBDIR += $(wildcard $(OTHERLIBDIR))
>
> This is a bit dirty, since the wildcard will still be passed to -Fl,
> which will ignore it, presumably.  A better solution would of course
> be to enable -Fl to accept wildcards.

Sigh, none of this will work, since, /etc/ld.so.conf here contains a
wildcard of files (with an "include" in front), which in turn contains
directories.  Fpcmake assumes that /etc/ld.so.conf contains
directories.  Is this already solved in fpmake?

Henry



More information about the fpc-devel mailing list