add 'ldd' to cross-tools ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Wed, 4 Jan 2012 23:23:15 +0100
Hi,
in doing cross-builds of picobsd, i found i need a cross-version
of "ldd" so i can run it on the host to detect which shared libraries
are used by binaries on the target architecture
(for amd64->i386 there is a partial workaround, but don't know
if it works in other cases)

Is there any concern in adding usr.bin/ldd to the list of cross-tools
in Makefile.inc1 ? It is a small program and should not increase
the build time in any significant way.

Otherwise, does anyone know the magic to build a cross-arch
version of a program in the FreeBSD source tree ?

cheers
luigi
Received on Wed Jan 04 2012 - 21:06:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC