Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fe244ac32d94628808ffdc7f0aa1f761292fc8e
Ticket: 1796308fffffffffffffffffffffffffffffffff
load support on cygwin
User & Date: nicolabaldo on 2007-09-17 16:07:48
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Support for loading dynamic libraries cannot be enabled when building tcl on cygwin, no matter which flags are used at configuration time.
    
    The issue is in AC_DEFUN([SC_CONFIG_CFLAGS]) : in 'case $system in' there is no CYGWIN section.
    
    Solution:
    - make a verbatim copy of the 'Linux*)' section
    - rename it 'CYGWIN*)'
    - in the newly created cygwin section, change 'SHLIB_SUFFIX=".so"' to 'SHLIB_SUFFIX=".dll"'
    
    Acknowledgments to Federico Maguolo for this bug fix.
    
    Note: the issue was found on tcl8.14.4 and the fix tested there. I had a look at the code in tcl8.5a6 and the issue still seems to be there (no cygwin section in tcl.m4). Cygwin version was 1.5.24-2 (the most up-to-date at the time of this writing).
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nicolabaldo"
  10. subsystem changed to: "40. Dynamic Loading"
  11. title changed to: "load support on cygwin"
  12. type changed to: "Bug"