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:
"
Constructor TLinkerBSD.Create;
begin
  Inherited Create;
  if not Dontlinkstdlibpath Then
   if not(target_info.system in systems_darwin) then
     
LibrarySearchPath.AddPath(sysrootpath,'/lib;/usr/lib;/usr/X11R6/lib',true)
   else
     { Mac OS X doesn't have a /lib }
     LibrarySearchPath.AddPath(sysrootpath,'/usr/lib',true)
end;
"
> normally, like for all other libraries, it seems to me that 
> there is a check if the file has the correct ELF 32 bit signature.
>
Probably not for absolute paths.

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