Overview
Artifact ID: | 77ac5e1d59bbd889fa6b291ca56dc408afeef336 |
---|---|
Ticket: | ee9501624a9fdc5ec0aae2062c70cffdf1fdf5c2
Improve cross-compilability |
User & Date: | anonymous 2014-01-28 11:46:02 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, To be able to cross compile Tcl 8.5.14 on Linux with MinGW for Windows, I have to apply the following patch: diff -ru tcl8.5.14.orig/generic/tcl.h tcl8.5.14/generic/tcl.h --- tcl8.5.14.orig/generic/tcl.h 2013-03-22 12:39:05.000000000 +0100 +++ tcl8.5.14/generic/tcl.h 2013-05-26 09:28:57.000000000 +0200 @@ -168,7 +168,7 @@ * MSVCRT. */ -#if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec)))) +#if (defined(__WIN32__) && (defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0550)) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec)))) # define HAVE_DECLSPEC 1 # ifdef STATIC_BUILD # define DLLIMPORT I hope you can include this patch, so that I don't have to apply it over and over again :) I also have to apply the following for some reasons unknown to me, maybe you an help me understand why: diff -ru tcl8.5.14.orig/win/Makefile.in tcl8.5.14/win/Makefile.in --- tcl8.5.14.orig/win/Makefile.in 2013-04-01 20:36:36.000000000 +0200 +++ tcl8.5.14/win/Makefile.in 2013-05-26 09:34:41.000000000 +0200 @@ -606,7 +606,7 @@ $(COPY) $(REG_LIB_FILE) $(LIB_INSTALL_DIR)/reg$(REGDOTVER); \ fi -install-libraries: libraries install-tzdata install-msgs +install-libraries: libraries @for i in $(prefix)/lib $(INCLUDE_INSTALL_DIR) \ $(SCRIPT_INSTALL_DIR); \ do \ and --- tcl8.5.14.orig/unix/configure 2013-04-01 20:36:35.000000000 +0200 +++ tcl8.5.14/unix/configure 2013-05-26 09:28:57.000000000 +0200 @@ -15068,7 +15068,7 @@ else if test "$cross_compiling" = yes; then - tcl_cv_strtod_buggy=buggy + tcl_cv_strtod_buggy=ok else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ I hope to hear from you soon.
- foundin changed to: "8.5.14"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "7ef58cf72ea291c31b08aa8dbaafbc8d36ded9d9"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "Improve cross-compilability"
- type changed to: "Patch"