On 22/11/2021 15:52, Jonas Maebe via fpc-devel wrote:
On 21/11/2021 20:51, Sergey Organov via fpc-devel wrote:
Then, in the /etc/fpc.cfg file, among a lot of statements inappropriate
for cross-compilation (that happen to do no harm in my case), that is
only expected for the file that belongs to installed native compiler,
there is unconditional
-Fl/usr/lib/$fpctarget-*
directive that causes all this noise due to another bug, see below.
This one needs to become -Fl=/usr/lib/$fpctarget-* (see
https://wiki.freepascal.org/User_Changes_3.2.0#Library_search_directories_and_custom_sysroots
)
Actually, even that would be wrong. I'm not sure where that comes from.
It does not appear anywhere in our own sources. I think this may be a
Debian addition.
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel