TEA (tclconfig) Source Code

Check-in [0823b5e65a]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:mingw cross-compile: fix 2nd mistake - invalid tcl_platform retrieved, resp. overwritten if cross-compiled in unix (tcl_platform should be windows in mingw)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sebres-fix-cross-comp-mingw
Files: files | file ages | folders
SHA3-256: 0823b5e65a20c56577ce3d26934f83f9e467261cb4acc48dc463fba0962d44a8
User & Date: sebres 2019-01-09 14:48:46
Context
2019-01-17
09:45
fixes configure error "Windows/CE and GCC builds incompatible" as well as proper tcl_platform (if cross-compiled in unix) by mingw build. check-in: 8b4bbb54c8 user: sebres tags: trunk
2019-01-09
14:48
mingw cross-compile: fix 2nd mistake - invalid tcl_platform retrieved, resp. overwritten if cross-compiled in unix (tcl_platform should be windows in mingw) Closed-Leaf check-in: 0823b5e65a user: sebres tags: sebres-fix-cross-comp-mingw
13:44
fix cross-compile build for windows(mingw) from *nix: set default wince to off for all platforms exepting windows, take care the option (--enable-wince/--disable-wince) check-in: 66ccb87578 user: sebres tags: sebres-fix-cross-comp-mingw
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tcl.m4.

   436    436       AC_MSG_CHECKING([platform])
   437    437       hold_cc=$CC; CC="$TCL_CC"
   438    438       AC_TRY_COMPILE(,[
   439    439   	    #ifdef _WIN32
   440    440   		#error win32
   441    441   	    #endif
   442    442   	], [
   443         -	    TEA_PLATFORM="unix"
          443  +	    # first test we've already retrieved platform (cross-compile), fallback to unix otherwise:
          444  +	    TEA_PLATFORM="${TEA_PLATFORM-unix}"
   444    445   	    CYGPATH=echo
   445    446   	], [
   446    447   	    TEA_PLATFORM="windows"
   447    448   	    AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo)	]
   448    449       )
   449    450       CC=$hold_cc
   450    451       AC_MSG_RESULT($TEA_PLATFORM)