Overview
| Artifact ID: | 65a9378885cc3057e6b6839558323bf26f2f1a88 |
|---|---|
| Ticket: | 00189c4afcb9e2586301d711f71383e48817a72d
Allow semi-static UCRT build on Windows with VC 14.0 |
| User & Date: | oehhar on 2015-08-28 15:46:08 |
Changes
- icomment:
After a "repair" of VC14, all worked ok. I have made the vc6 build on my old vista32bit laptop. So the result is: - Builds all ok Tcl+Tk - Sizes: tcl86t.dll: 1271k, tk86t.dll: 1508k - Compared to VC6: 1894k, 1402k -> so the tcl dll is much smaller, the tk a bit larger Here are the make status messages at the top: <verbatim> *** Compiler has 'Optimizations' *** Compiler does not have 'Pentium 0x0f fix' *** Linker does not have 'Win98 alignment problem' *** Intermediate directory will be '.\Release_VC13\tcl_ThreadedDynamic' *** Output directory will be '.\Release_VC13' *** Suffix for binaries will be 't' *** Optional defines are '-DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DNDEBUG -DTCL_CFG_OPTIMIZED' *** Compiler version 13. Target machine is IX86 *** Host architecture is AMD64 *** Compiler options '-W3 -DUNICODE -D_UNICODE -Ot -Oi -fp:strict -Gs -GS -GL -RTC1 -W3' *** Link options '-ltcg' </verbatim> It says "VC Version 13". cl has version 19, link has version 14. It links with the correct library: <verbatim> link -nologo -machine:IX86 -ltcg -release -opt:ref -opt:icf,3 -nodefaultlib:libucrt.lib -dll -base:@C:\test\Tcl_Source_Code-0e6e497bf3\win\..\win\coffbase.txt,tcl -out:.\Release_VC13\tcl86t.dll netapi32.lib kernel32.lib user32.lib advapi32.lib ws2_32.lib ucrt.lib @C:\Users\oehhar\AppData\Local\Temp\nm87E2.tmp </verbatim> New test failures compared to vc6: (one is on win 8.1 64bit, other on win vista 32 bit, may also explain the difference) <verbatim> ==== format-6.3 floating-point zeroes FAILED ==== Contents of test case: format "%#.4e %#.4f %#.4g" 0.0 0.0 0.0 0.0 ---- Result was: 0.0000e+00 0.0000 0.0000 ---- Result should have been (exact matching): 0.0000e+00 0.0000 0.000 ==== format-6.3 FAILED ---- format-6.4 start ---- format-6.5 start ==== format-6.5 floating-point zeroes FAILED ==== Contents of test case: format "%#.0e %#.0f %#.0g" 0.0 0.0 0.0 0.0 ---- Result was: 0.e+00 0. 0.0 ---- Result should have been (exact matching): 0.e+00 0. 0. ==== format-6.5 FAILED ==== text-9.2.46 TextWidgetCmd procedure, "count" option FAILED ==== Contents of test case: for {set i 1} {$i < 5} {incr i} { # 0 1 2 3 4 # 012345 678901234 567890123 456789012 34567890123456789 .mytop.t insert end "Line $i+++Line $i---Line $i///Line $i - This is Line [format %c [expr 64+$i]]\n" } .mytop.t tag configure hidden -elide true .mytop.t tag add hidden 2.15 3.10 .mytop.t configure -wrap char lappend res [.mytop.t count -displaylines 2.0 3.0] lappend res [.mytop.t count -displaylines 2.0 3.40] ---- Result was: 0 3 ---- Result should have been (exact matching): 1 3 ==== text-9.2.46 FAILED </verbatim> Thank you Jan, Harald - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"