[fpc-pascal] crosscompiling from win32 to i386-linux and libc linking
Dominique Leducq
dleducq at magellan-ing.fr
Fri Jul 28 15:01:04 CEST 2006
Marco van de Voort a écrit :
> On Fri, Jul 28, 2006 at 11:54:07AM +0200, Dominique Leducq wrote:
>> I have linking problems when cross-compiling from win32 to i386-linux
>> and linking with libc (dynamically).
>> I use FPC 2.0.2, the libs are from a Debian Sarge (glibc-2.3.6, I tried
>> with glibc 2.3.2 with same results),
>> cross ld is :
>> ld.exe -V
>> GNU ld version 2.15
>> Supported emulations:
>> elf_i386
>> i386linux
>
> I don't have time to debug this fully, but have a look at my notes when I
> was trying this:
>
> http://www.stack.nl/~marcov/crossnotes.txt
>
> Note that
> I set it the dynlinker explicitely in point 11
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Thank you for your prompt answer.
I tried to set the dynamic linker whith the -FL option too, but it
didn't help. Anyway, it seems to be a runtime hint, as you give a target
path as an argument, and I don't get the chance to reach this step, as
I can't produce any executable.
I read your doc, and didn't see anything else that could improve the
matters.
Dominique.
More information about the fpc-pascal
mailing list