Check-in [82debae251]
Overview
Comment:Fixed issue with 32-bit builds with a 64-bit cross-compiler
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:82debae2517b94f075fe51e43af1ca2f19389b27
User & Date: rkeene on 2016-09-02 19:56:04
Other Links: manifest | tags
Context
2016-09-06
03:32
Added support for a simplified package build script check-in: cbce55da50 user: rkeene tags: trunk
2016-09-02
19:56
Fixed issue with 32-bit builds with a 64-bit cross-compiler check-in: 82debae251 user: rkeene tags: trunk
2016-08-09
15:15
Added fix for TclVFS bug 81845 check-in: a7c695de5d user: rkeene tags: trunk
Changes

Modified build/make-kit-crosscompile from [db0b9b53a1] to [da80a8dfaa].

    25     25   ac_cv_func_memcmp_working=yes
    26     26   tcl_cv_strstr_unbroken=ok
    27     27   tcl_cv_strtoul_unbroken=ok
    28     28   tcl_cv_strtod_unbroken=ok
    29     29   tcl_cv_strtod_buggy=ok
    30     30   export ac_cv_func_memcmp_working tcl_cv_strstr_unbroken tcl_cv_strtoul_unbroken tcl_cv_strtod_unbroken tcl_cv_strtod_buggy
    31     31   
    32         -./kitcreator "$@" --host="${CROSS}"
           32  +CROSS_HOST="${CROSS}"
           33  +case "${CROSS}" in
           34  +	x86_64-*)
           35  +		case " ${CC_ADD} " in
           36  +			*' -m32 '*)
           37  +				CROSS_HOST="$(echo "${CROSS_HOST}" | sed 's@^x86_64-@i386-@')"
           38  +				;;
           39  +		esac
           40  +		;;
           41  +	i?86-*)
           42  +		case " ${CC_ADD} " in
           43  +			*' -m64 '*)
           44  +				CROSS_HOST="$(echo "${CROSS_HOST}" | sed 's@^i.86-@x86_64-@')"
           45  +				;;
           46  +		esac
           47  +		;;
           48  +esac
           49  +
           50  +./kitcreator "$@" --host="${CROSS_HOST}"