[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
Tue Jan 20 12:49:58 CET 2015
On 20 Jan 2015, at 11:56, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
> OUTPUT_FORMAT("elf32-i386", "elf32-i386",
> "elf32-i386")
> OUTPUT_ARCH(i386)
> ENTRY(_start)
> SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib32");
> SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib32"); SEARCH_DIR("/usr/lib");
> SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib");
>
> I don't see /usr/lib32 here, which is necessary.
Definitely file a bug report with your distro.
Jonas
More information about the fpc-pascal
mailing list