|
2013-01-31
| ||
| 21:15 | • Closed ticket [2874861fff]: Cross Compiling: Makefile uses newly built tclsh to ... artifact: cd72d9af77 user: stwo | |
|
2009-10-09
| ||
| 20:46 | • Ticket [2874861fff]: 1 change artifact: 17c06af94b user: dkf | |
| 20:46 | • Ticket [2874861fff]: 4 changes artifact: fde256dc28 user: dkf | |
|
2009-10-08
| ||
| 17:34 | • New ticket [2874861fff]. artifact: db9790003d user: skielty | |
Cross Compiling: Makefile uses newly built tclsh to fix lib
Closed / Fixed2874861fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 14 years ago
Descriptionplain2009-10-08 17:34:01
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
dkfplain2009-10-09 20:46:48
Cross compilation is not supported. Don't do it.
dkf Ticket [2874861fff]: 1 change
[History diff]2009-10-09 20:46:49
stwoplain2013-01-31 21:15:43
The real problem here is using a tclsh to install files. This has been corrected in check-in [226a993973], patch 3101127. Now that bug 3598282 is fixed, install should be possible when cross-building.
Log in (anonymous is fine) to add a comment.