Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: db9790003db32dfc234aa7a29cc33c84f0cb3b22
Ticket: 2874861fffffffffffffffffffffffffffffffff
Cross Compiling: Makefile uses newly built tclsh to fix lib
User & Date: skielty on 2009-10-08 17:34:01
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The newly built tcish found during "make install"  in ./tclsh won't run on the host platform (Centos Linux, in my case) which causes the "make install" to fail.   It would be nice to be able to override this behavior with an option to the configure or with an environment variable.   I don't really see a way to do it.        
    [shawn@dtlin-3 unix]$ env 
    ...excerpt ... 
    tcl_cv_type_64bit=long long
    ac_cv_c_bigendian=no
    tcl_cv_strtod_buggy=1
    ac_cv_func_opendir=yes
    ac_cv_func_strstr=yes
    CC=/tools/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
    CROSS_COMPILE=/tools/codesourcery/arm-2009q1/bin/arm-none-linux-gnueabi-
    ARCH=arm
    [shawn@dtlin-3 unix]$ 
    [shawn@dtlin-3 unix]$ make install 
    Installing libtcl8.5.so to /home/shawn/lib/
    Installing tclsh as /home/shawn/bin/tclsh8.5
    Installing tclConfig.sh to /home/shawn/lib/
    Installing libtclstub8.5.a to /home/shawn/lib/
    Installing message catalogs
    /bin/sh: line 2: ./tclsh: cannot execute binary file
    make: *** [install-msgs] Error 126
    [shawn@dtlin-3 unix]$ pwd
    /home/shawn/tcl/tcl8.5.7/unix
    
    
  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: "skielty"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to:
    Cross Compiling: Makefile uses newly built tclsh to fix lib 
    
  12. type changed to: "Bug"