Overview
Comment: | Unified cross-compiling detection and configuration |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6b648f7f4d2de932b320f799d0f2ed25 |
User & Date: | rkeene on 2014-05-29 05:19:41 |
Other Links: | manifest | tags |
Context
2014-05-29
| ||
05:27 | Added more Mac OS X support to cross-compile fakeouts check-in: fe5d208867 user: rkeene tags: trunk | |
05:19 | Unified cross-compiling detection and configuration check-in: 6b648f7f4d user: rkeene tags: trunk | |
05:15 | Added script to remove "fixstrtod" in Tk check-in: abc83d3b1d user: rkeene tags: trunk | |
Changes
Modified kitcreator from [0ebdeb3250] to [d9c2335c1d].
︙ | |||
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | + + + + + + + + + + + + + + + + + + + | CONFIGUREEXTRA="$@" export CONFIGUREEXTRA if echo " ${CONFIGUREEXTRA} " | grep ' --enable-threads' >/dev/null 2>/dev/null; then KITCREATOR_PKGS="${KITCREATOR_PKGS} thread" fi # Determine cross-compile status host_os="$(echo " ${CONFIGUREEXTRA} " sed 's@^.* --host=\([^ ]*\) .*$@\1@ t x d :x')" build_os="$(echo " ${CONFIGUREEXTRA} " sed 's@^.* --build=\([^ ]*\) .*$@\1@ t x d :x')" if [ "${host_os}" != "${build_os}" -a -n "${host_os}" ]; then KC_CROSSCOMPILE='1' KC_CROSSCOMPILE_HOST_OS="${host_os}" else KC_CROSSCOMPILE='0' KC_CROSSCOMPILE_HOST_OS='' fi export KC_CROSSCOMPILE KC_CROSSCOMPILE_HOST_OS # Set default target KITTARGET="kitsh" export KITTARGET # Fix up package list ## If building KitDLL, define it as our target if echo " ${KITCREATOR_PKGS} " | grep ' kitdll ' >/dev/null 2>/dev/null; then |
︙ |
Modified tcl/build.sh from [99f31c134b] to [a0fc7f495f].
︙ | |||
197 198 199 200 201 202 203 | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | + + + + + + + + + + - - - - + + + + + + + + | ( . "${patchscript}" ) fi done tryfirstdir='' case "${KC_CROSSCOMPILE_HOST_OS}" in *-*-darwin*) # Cross-compiling for Mac OS X -- try to build macosx directory first tryfirstdir='macosx' ;; *-*-*) # Cross-compiling, do not assume based on build platform ;; '') # Not cross-compiling, assume based on build platform |
︙ |
Modified tcl/patchscripts/fix-crosscompile.sh from [d9ee5d652f] to [e079dfb078].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | - + - - - - + - - + - - - - - - - - + - - - - + - + - + - + - + - + - + | #! /bin/bash |
︙ |