[fpc-devel] Re: crti.o problem

Henry Vermaak henry.vermaak at gmail.com
Tue Nov 8 15:51:31 CET 2011


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.

Henry



More information about the fpc-devel mailing list