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
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "skielty"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Cross Compiling: Makefile uses newly built tclsh to fix lib
- type changed to: "Bug"