Hello.
> Sorry, I didn't notice that you use Manjaro,
Huh, after some bad experience with my ex-favorite Linux OS, I just have
switched to a not-Debian OS: Arch-Manjaro.
> I thought it's about PolyDev.
With polYdev it is a other problem: FreeBSD multi-arch design is not
compatible with their garbage-manager.
> One wold need to debug FPC.
Ok, chief, I get the guilty and the solution.
In /fpcsrc/compiler/systems/t_linux.pas, line 155:
----------------------------------
{$ifdef x86_64}
...
{$else}
LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true);
{$endif}
---------------------------
Could be changed with this:
(and so not oblige to use -Xd parameter, even in multi-arch)
----------------------------------
{$ifdef x86_64}
...
{$else}
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib32;/usr/X11R6/lib;/usr/lib;/lib',true);
{$endif}
---------------------------
Tested and works.
IMHO, the hierarchy of search-path is better too (and follows what they did
for{$ifdef x86_64}.
PS: Last commit of t_linux is from 2008, maybe in those time multi-arch was
not tested.
Fre;D
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk