On Thursday 26 July 2018 18:47:21 Martin Schreiber wrote:
> On 07/26/2018 03:13 PM, Martin Schreiber wrote:
> > On Thursday 26 July 2018 15:01:25 fredvs wrote:
> >> Re-hello.
> >>
> >>> Maybe librarysearchpath has an entry for /lib where on your system a 64
> >>> bit crtn.o is located?
> >>
> >> Re-about this, even if librarysearchpath has an entry for /lib (that
>
> I did
>
> >> not found),
> >
> > compiler/systems/t_bsd.pas:124:
>
> Sorry, I didn't notice that you use Manjaro, I thought it's about
> PolyDev. I don't know why in Linux "/lib" is in librarysearchpath, I
> also did not find the responsible code. One would need to debug FPC.
>
Ah, here, compiler/systems/t_linux.pas:133:
"
procedure SetupLibrarySearchPath;
begin
  if not Dontlinkstdlibpath Then
{$ifdef x86_64}
    
LibrarySearchPath.AddPath(sysrootpath,'/lib64;/usr/lib64;/usr/X11R6/lib64',true);
{$else}
{$ifdef powerpc64}
    
LibrarySearchPath.AddPath(sysrootpath,'/lib64;/usr/lib64;/usr/X11R6/lib64',true);
{$else powerpc64}
    LibrarySearchPath.AddPath(sysrootpath,
         '/lib;/usr/lib;/usr/X11R6/lib',true); <<<<----
"
I overlooked the $else in comment.

Martin



------------------------------------------------------------------------------
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

Reply via email to