* * *

Author Topic: Compiling 32bit under 64bit Arch Linux  (Read 1183 times)

Key-Real

  • Newbie
  • Posts: 1
Compiling 32bit under 64bit Arch Linux
« on: January 30, 2016, 12:12:04 pm »
I installed the 3.0.0 32bit linux version of FPC, but when I compill it tells me:

/usr/bin/ld: skipping incompatible /lib/crti.o when searching for /lib/crti.o
/usr/bin/ld: cannot find /lib/crti.o
/usr/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /lib//libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib//libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /lib//libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib//libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /lib//libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /lib//libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib//libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib//libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libXxf86vm.so when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /lib//libXxf86vm.so when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /usr/lib//libXxf86vm.so when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /lib//libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /lib//libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib//libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib//libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /lib//libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib//libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib//libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib//libc.a when searching for -lc
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted


what to do?

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5317
Re: Compiling 32bit under 64bit Arch Linux
« Reply #1 on: January 30, 2016, 04:09:15 pm »
Probably FPC finds 64-bit versions instead of 32-bit ones. Check the -Fl statements in the fpc.cfg files.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus