Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 27dd199644c67681432d92dbbca5bcb3dc8ad95d
Ticket: 3554282fffffffffffffffffffffffffffffffff
Checkin [30736d63f0] broke CFLAGS
User & Date: nijtmans on 2012-08-06 20:39:47
Changes

  1. assignee changed to: "nijtmans"
  2. icomment:
    Assigning back to me, because I'm starting to see the problem.
    
    Normally, configure scripts to the following:
    TEA_INIT
    ....
    TEA_LOAD_TCLCONFIG
    ...
    TEA_SETUP_COMPILER
    
    (just the relevant ones for this analysis)
    
    One of the difficulties in cross-compilation support is that TEA_INIT
    no longer is able to determine whether we are on win32 or unix,
    so it was moved to TEA_LOAD_TCLCONFIG. Doing that
    it needs AC_TRY_COMPILE, determining whether the
    compiler sets _WIN32 or not, that's the only reliable way
    to determine that.
    
    Previously,  TEA_SETUP_COMPILER was the first
    macro which called the compiler, that;s where the
    CFLAGS were set for the first time.
    
    So, possible solution: repeat the given lines
    in the TEA_LOAD_TCLCONFIG macro as
    well, that should fix this.
    
    
  3. login: "nijtmans"
  4. mimetype: "text/plain"
  5. username: "nijtmans"