[Lazarus] Cannot cross build from Linux x86_64 to i386
Leonardo M. Ramé
l.rame at griensu.com
Wed Nov 23 20:23:46 CET 2016
El 23/11/16 a las 15:27, Leonardo M. Ramé via Lazarus escribió:
> Hi, I've built FPC 3.1.1 (ppc386) from trunk then I'm trying to build a
> project from Lazarus and I'm getting this:
>
> /usr/lib32/libc_nonshared.a(elf-init.oS): En la función `__libc_csu_init':
>
>
> I'm on XUbuntu 16.04 64bits.
>
>
> P.S.: I created /usr/bin/i386-linux-as with this content:
>
> #!/bin/bash
> as --32 "$@"
>
> and /usr/bin/i386-linux-ld:
>
> #!/bin/bash
> ld -melf_i386 "$@"
>
>
> Regards,
>
Fixed by copying /usr/lib32/crtn.o and /usr/lib/crti.o to
/usr/lib/i386-linux-gnu
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877
More information about the Lazarus
mailing list