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

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 19 23:12:34 CET 2015

On 19/01/15 20:27, Marco van de Voort wrote:
> 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.

I know, and it should not be necessary.

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

The linker will simply skip libraries for incompatible architectures.


More information about the fpc-pascal mailing list