Using FPC 2.7.1 I'm cross-compiling from x86_64 to ARM/RPi and have specified:
-XR/usr/local/opt/chroot/raspbian/rootfs This produces a link.res file that includes the following: SEARCH_DIR("/usr/local/opt/chroot/raspbian/rootfs/usr/lib/arm-linux-gnueabihf/") SEARCH_DIR("/usr/local/opt/chroot/raspbian/rootfs/lib/") SEARCH_DIR("/usr/local/opt/chroot/raspbian/rootfs/usr/lib/") but it DOES NOT include this line: SEARCH_DIR("/usr/local/opt/chroot/raspbian/rootfs/lib/arm-linux-gnueabihf/") despite the fact the ld.so configuration file: /usr/local/opt/chroot/raspbian/rootfs/etc/ld.so.conf.d/arm-linux-gnueabihf.conf specifies both paths as: # Multiarch support /lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf What am I doing wrong? Thanks, Bruce
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal