Hello everybody.
> Sorry, I didn't notice that you use Manjaro
Huh, after some bad experience with my ex-favorite Linux OS, I just migrate
to a not-Debian OS : Arch-Manjaro.
>, I thought it's about PolyDev.
No with polYdev multi-arch Linux-emulated works like charm (the problem is
only with the FreeBSD himself multi-arch design + garbage-manager, but it is
a other story).
> One wold need to debug FPC.
Ok, chief, I get the guilty (and the solution).
in /fpcsrc/compiler/systems/t_linux.pas, line 153:
procedure SetupLibrarySearchPath;
...
{$ifdef x86_64}
...
{$else}
LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true);
{$endif}
--------------------------------
Changing with this solves everything (and does not oblige people to use -Xd
in a multi-arch os):
procedure SetupLibrarySearchPath;
...
{$ifdef x86_64}
...
{$else}
LibrarySearchPath.AddPath(sysrootpath,'/usr/lib32;/usr/X11R6/lib;/usr/lib;/lib',true);
{$endif}
-------------------------------
Note also the hierarchy of the seacrh path that IMHO is better (and follows
what they did for $ifdef x86_64) .
PS: Last release of t_linux.pas is 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