Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: db9b9ee32cb1f0f136522ef91e5a2246ae1427d5
Ticket: 1092952fffffffffffffffffffffffffffffffff
TEA patch for MSVC7
User & Date: jenglish on 2004-12-30 04:47:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    
    More info:
    
    "/GD" supposedly means "Optimize for Windows DLL", but
    according to the manual it's also "Reserved for future use".
     Apparently a no-op in VC6 and earlier; not supported at all
    in VC7.
    
    "-link50compat" isn't needed for TEA extensions under normal
    circumstances to begin with: it's only useful if the
    extension (a) builds an import library (either for the
    extension itself or for a stub library) that (b) needs to be
    compatible with older Windows compilers.
    
    "-YX" generates a *.PCH file under VC6; it's not supported
    under VC7, and is not necessary even under VC6.  VC6 users
    who really want the *.pch file can use "CFLAGS=-YX" at
    configure-time to reenable this feature.
    
    LIB.EXE does not seem to be included in MSVC7;  LINK /LIB
    should work for VC6 and earlier versions as well as VC7.
    
    It might be worthwhile to also remove "/MD" ("link with
    MSVCRT"), but I'm not sure of the full ramifications of
    this.  Since LIBTCLSTUB.LIB already has a DEFAULTLIB:MSVCRT
    dependency, it might not do any good anyway.
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"