[fpc-pascal] Linker script doesn't search in /usr/lib32 when cross compiling from x86_64 to i386

Marco van de Voort marcov at stack.nl
Mon Jan 19 20:27:03 CET 2015


In our previous episode, Jonas Maebe said:
> >
> > Sorry, I forget to tell you that Marco has given the answer by using  
> > -Xd.
> 
> That should not be necessary.

-Xd has nothing to do with linker scripts from ld. It prevents FPC t_linux
  code from adding default paths to the script.
 
For target i386  t_linux:133

Which are fine for i386 hosted-and-targeted binaries, but not for i386 targeting binaries
on a x86_64 hosted system.




More information about the fpc-pascal mailing list