Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-08-23
14:01 • Ticket [3564799fff] Cross-compiling on Linux using MinGW status still Open w... artifact: 6c806182fa user: dkf
2012-09-05
03:14 • Ticket [3564799fff]: 4 changes artifact: 54364b99db user: flelchuk
03:14 • Add attachment tcl-crosscompile-win.diff to ticket [3564799fffffffff|35... artifact: 1089f72b6c user: flelchuk
2012-09-04
20:14 • New ticket [3564799fff] Cross-compiling on Linux using MinGW. artifact: a4d633b570 user: flelchuk

Cross-compiling on Linux using MinGW

Open3564799fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 10 years ago
Descriptionplain2012-09-04 20:14:44
Hello,

trying to compile Tcl 8.5.12 for Windows using mingw32-w64, I got some errors during "make install".
The reason is the fact that "make install" assumes that the newly built tclsh can be executed. That, of course, does not work  when cross-compiling.
I'd like to offer you a patch for this issue.
The changes made to configure.in and Makefile.in enable us to use the build machine's tcl to run the helper scripts.
When cross compiling, make will use the tclsh provided to configure via RUN_TCLSH or a tclsh which is in the PATH.
If there's no tclsh found, a warning gets printed but install succeeds. Hope it's useful.

Regards

Felix Lelchuk
flelchukplain2012-09-05 03:14:47
File Added - 452599: tcl-crosscompile-win.diff
dkf Ticket [3564799fff]: 6 changes [History diff]2016-08-23 14:01:13
Log in (anonymous is fine) to add a comment.

Attachments: