Michael ABBOTT reported that populate is not relocatable.
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time.
/trunk/configure | 1 1 0 0 +
/trunk/scripts/crosstool.sh | 14 6 8 0 ++++++--------
/trunk/tools/populate.in | 6 4 2 0 ++++--
3 files changed, 11 insertions(+), 10 deletions(-)
1 # Compute IA-64-specific values
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
7 # Override CFLAGS for endianness:
8 case "${CT_ARCH_BE},${CT_ARCH_LE}" in
9 y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
10 ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;