Skip to content
Tcl Source Code History Of Ticket 3511806fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3511806fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3511806fffffffffffffffffffffffffffffffff

  1. Ticket change [adfb513096] (rid 101552) by nijtmans on 2012-03-27 09:21:39:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      configure.in for Tcl contains 6 compiler checks:
      1) Support for SEH
      2) EXCEPTION_DISPOSITION support
      3) LPFN_ACCEPT in winsock2.h
      4) winnt.h that ignores VOID define
      5) missing alloca declaration in malloc.h
      6) casting to union type
      
      All of those checks are meant to detect
      defects/features in some mingw/cygwin
      versions. However, SC_CONFIG_CFLAGS
      is able to switch compiler, e.g. for ms
      win64/wince or for cygwin. So those checks
      are done with the wrong compiler.
      
      Proposed solution: move those checks
      after SC_CONFIG_CFLAGS. For
      MS win64/wince that wouldn't work
      because of spaces in the replacement
      $CC, but lucky enough those checks
      are only meant for gcc. So, putting a
          if test "$GCC" = "yes"; then
      around it should work for all
      known compilers.
      
      Even better: check 1), 4) and 6)
      could be moved from configure.in
      to tcl.m4, as part of the
      SC_CONFIG_CFLAGS macro.
      Then TEA can benefit from it as well.
      
    4. foundin initialized to: "obsolete: 8.5.11"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "Compiler checks too early"
    12. type initialized to: "Bug"
  2. Ticket change [541218e1b6] (rid 93874) by dkf on 2012-03-27 19:47:43:

    1. icomment:
      I'm not sure that check 4 belongs there (not unless you can make it conditional on the existence of winnt.h at all) but 1 and 6 could work fine. (6 even makes sense on non-Windows.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [cf9ce366f2] (rid 113018) by nijtmans on 2012-03-27 21:06:24:

    1. icomment:
      Check 4) is actually done using <windows.h>, not <winnt.h>
      so I see no problem at all.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [26a9d6f146] (rid 88390) by nijtmans on 2012-03-27 21:20:47:

    1. icomment:
      It turns out that 3) and 5) were only used for Tcl 8.4, so for
      >8.4 this check can just be removed.
      
      1) and 2) are used together, so that makes the set
      1), 2) 4) and 6).
      
      Yes, 6) makes sense on non-windows as well, the
      other 3 only make sense on windows.
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  5. Ticket change [731e11d90e] (rid 104989) by nijtmans on 2012-03-30 04:08:31:

    1. icomment:
      Change committed in core-8-4-branch.
      
      This makes the mingw32 and cygwin ports
      compile out-of-the-box using a native
      or cross-compiler on any platform.
      
      Just (e.g. on Linux or cygwin with the
      appropriate mingw-w64 package installed):
        cd win
        configure
        make
      This will automatically use the i686-w64-mingw32-gcc
      compiler to build the mingw32 port.
      
      Or, the same, but then in stead
         configure --enable-64bit
      This will build the win64 version,
      using x86_64-w64-mingw32-gcc
      
      Finally, on cygwin:
        cd unix
        configure
        make
      This will build the cygwin port
      out-of-the-box
      
      core-8-5-branch and trunk still to be done
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  6. Ticket change [f41393bb38] (rid 129834) by nijtmans on 2012-04-03 16:42:29:

    1. closedate changed to: "2012-04-03T09:42:29"
    2. closer changed to: "nijtmans"
    3. icomment:
      Now committed to core-8-5-branch and trunk as well.
      
      And - finally - to TEA (= tclconfig) to be taken over
      by extensions.
      
      So, closing.....
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"