Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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: