Tcl Source Code

Artifact [77ac5e1d59]
Login

Artifact 77ac5e1d59bbd889fa6b291ca56dc408afeef336:

Ticket change [77ac5e1d59] - New ticket [ee9501624a] Improve cross-compilability. by anonymous 2014-01-28 11:46:02.
D 2014-01-28T11:46:02.569
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Hi,\r\n\r\nTo\sbe\sable\sto\scross\scompile\sTcl\s8.5.14\son\sLinux\swith\sMinGW\sfor\sWindows,\sI\shave\sto\sapply\sthe\sfollowing\spatch:\r\n\r\ndiff\s-ru\stcl8.5.14.orig/generic/tcl.h\stcl8.5.14/generic/tcl.h\r\n---\stcl8.5.14.orig/generic/tcl.h\s\s\s\s\s\s\s\s2013-03-22\s12:39:05.000000000\s+0100\r\n+++\stcl8.5.14/generic/tcl.h\s\s\s\s\s2013-05-26\s09:28:57.000000000\s+0200\r\n@@\s-168,7\s+168,7\s@@\r\n\s\s*\s\s\s\s\s\s\sMSVCRT.\r\n\s\s*/\r\n\s\r\n-#if\s(defined(__WIN32__)\s&&\s(defined(_MSC_VER)\s||\s(__BORLANDC__\s>=\s0x0550)\s||\sdefined(__LCC__)\s||\sdefined(__WATCOMC__)\s||\s(defined(__GNUC__)\s&&\sdefined(__declspec))))\r\n+#if\s(defined(__WIN32__)\s&&\s(defined(_MSC_VER)\s||\s(defined(__BORLANDC__)\s&&\s(__BORLANDC__\s>=\s0x0550))\s||\sdefined(__LCC__)\s||\sdefined(__WATCOMC__)\s||\s(defined(__GNUC__)\s&&\sdefined(__declspec))))\r\n\s#\s\s\sdefine\sHAVE_DECLSPEC\s1\r\n\s#\s\s\sifdef\sSTATIC_BUILD\r\n\s#\s\s\s\s\s\s\sdefine\sDLLIMPORT\r\n\r\n\r\nI\shope\syou\scan\sinclude\sthis\spatch,\sso\sthat\sI\sdon't\shave\sto\sapply\sit\sover\sand\sover\sagain\s:)\r\n\r\nI\salso\shave\sto\sapply\sthe\sfollowing\sfor\ssome\sreasons\sunknown\sto\sme,\smaybe\syou\san\shelp\sme\sunderstand\swhy:\r\ndiff\s-ru\stcl8.5.14.orig/win/Makefile.in\stcl8.5.14/win/Makefile.in\r\n---\stcl8.5.14.orig/win/Makefile.in\s\s\s\s\s\s2013-04-01\s20:36:36.000000000\s+0200\r\n+++\stcl8.5.14/win/Makefile.in\s\s\s2013-05-26\s09:34:41.000000000\s+0200\r\n@@\s-606,7\s+606,7\s@@\r\n\s\s\s\s\s\s\s\s\s\s\s\s$(COPY)\s$(REG_LIB_FILE)\s$(LIB_INSTALL_DIR)/reg$(REGDOTVER);\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s\sfi\r\n\s\r\n-install-libraries:\slibraries\sinstall-tzdata\sinstall-msgs\r\n+install-libraries:\slibraries\r\n\s\s\s\s\s\s\s\s@for\si\sin\s$(prefix)/lib\s$(INCLUDE_INSTALL_DIR)\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s$(SCRIPT_INSTALL_DIR);\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s\sdo\s\\\r\n\sand\r\n\r\n---\stcl8.5.14.orig/unix/configure\s\s\s\s\s\s\s2013-04-01\s20:36:35.000000000\s+0200\r\n+++\stcl8.5.14/unix/configure\s\s\s\s2013-05-26\s09:28:57.000000000\s+0200\r\n@@\s-15068,7\s+15068,7\s@@\r\n\selse\r\n\s\r\n\s\s\s\s\s\s\s\s\s\s\s\sif\stest\s"$cross_compiling"\s=\syes;\sthen\r\n-\s\stcl_cv_strtod_buggy=buggy\r\n+\s\stcl_cv_strtod_buggy=ok\r\n\selse\r\n\s\s\scat\s>conftest.$ac_ext\s<<_ACEOF\r\n\s/*\sconfdefs.h.\s\s*/\r\n\r\n\r\nI\shope\sto\shear\sfrom\syou\ssoon.
J foundin 8.5.14
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 7ef58cf72ea291c31b08aa8dbaafbc8d36ded9d9
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title Improve\scross-compilability
J type Patch
K ee9501624a9fdc5ec0aae2062c70cffdf1fdf5c2
U anonymous
Z 14d17f9d35cef07c7beb2786fca73d1a