Overview
| Comment: | Added more cross-compiling support |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ea645d2a5006cbfd78d5dec2bcf0115a |
| User & Date: | rkeene on 2014-05-02 06:29:30.469 |
| Other Links: | manifest | tags |
Context
|
2014-05-02
| ||
| 06:41 | Windows fixups check-in: b25d0baade user: rkeene tags: trunk | |
| 06:29 | Added more cross-compiling support check-in: ea645d2a50 user: rkeene tags: trunk | |
| 05:39 | Minor cleanup check-in: d2385ff774 user: rkeene tags: trunk | |
Changes
Modified configure.ac
from [cc0f388ad8]
to [8b39413dfe].
| ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 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 | + + + + + + + + - |
else
TCC4TCL_TARGET=shared
fi
], [
TCC4TCL_TARGET=shared
])
dnl Configure TCC build options
AC_SUBST(TCC_CONFIGURE_OPTS)
TCC_CONFIGURE_OPTS=""
dnl -- If cross-compiling, specify a "--cross-prefix" and define the CPU
if test "${host}" != "${build}"; then
TCC_CONFIGURE_OPTS="${TCC_CONFIGURE_OPTS} --cross-prefix=${host_alias}- --cpu=${host_cpu} --os=${host_os}"
fi
if test "${TCC4TCL_TARGET}" = "shared"; then
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS
dnl Only export symbols we wish to expose
DC_SETVERSIONSCRIPT([tcltcc.syms], [tcltcc.vers])
DC_FIND_STRIP_AND_REMOVESYMS([tcltcc.syms])
TARGET="tcltcc.${SHOBJEXT}"
else
TARGET="tcltcc-static.a"
fi
AC_SUBST(TARGET)
AC_SUBST(TCC4TCL_TARGET)
|
| ︙ |