Overview
Comment: | Added additional aliases for MingW32 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 9bbcaed1410dfa26d46d65cd9bc42fe889a17bef |
User & Date: | rkeene on 2010-09-26 04:43:08 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:43 | Updated to work around bug in Itcl where cross-compiling from UNIX to non-UNIX (or vice versa) fails check-in: c5a5106f2c user: rkeene tags: trunk | |
04:43 | Added additional aliases for MingW32 check-in: 9bbcaed141 user: rkeene tags: trunk | |
04:43 | Switched to Zlib v1.2.3, newer versions have issues with cross-compiling to systems without a "libc" (e.g., Windows) check-in: 4d2a723204 user: rkeene tags: trunk | |
Changes
Modified kitsh/buildsrc/kitsh-0.0/aclocal.m4 from [7d03825276] to [24f2954653].
157 157 AC_DEFINE(KIT_INCLUDES_MK4TCL, [1], [Specify this if you link against mkt4tcl]) 158 158 DC_DO_STATIC_LINK_LIBCXX 159 159 fi 160 160 if test "${proj}" = "tk"; then 161 161 DC_DO_TK 162 162 AC_DEFINE(KIT_INCLUDES_TK, [1], [Specify this if we link statically to Tk]) 163 163 164 - if test "$host_os" = "mingw32msvc"; then 164 + if test "$host_os" = "mingw32msvc" -o "$host_os" = "mingw32"; then 165 165 AC_DEFINE(KITSH_NEED_WINMAIN, [1], [Define if you need WinMain (Windows)]) 166 166 CFLAGS="${CFLAGS} -mwindows" 167 167 fi 168 168 fi 169 169 fi 170 170 done 171 171 ................................................................................ 175 175 AC_DEFUN(DC_SETUP_TCL_PLAT_DEFS, [ 176 176 AC_CANONICAL_HOST 177 177 178 178 AC_MSG_CHECKING(host operating system) 179 179 AC_MSG_RESULT($host_os) 180 180 181 181 case $host_os in 182 - mingw32msvc*) 182 + mingw32*) 183 183 CFLAGS="${CFLAGS} -mno-cygwin -mms-bitfields" 184 184 185 185 dnl If we are building for Win32, we need to define "BUILD_tcl" so that 186 186 dnl TCL_STORAGE_CLASS gets defined as DLLEXPORT, to make static linking 187 187 dnl work 188 188 AC_DEFINE(BUILD_tcl, [1], [Define if you need to pretend to be building Tcl (Windows)]) 189 189 AC_DEFINE(BUILD_tk, [1], [Define if you need to pretend to be building Tk (Windows)])