Ticket Change Details
Not logged in
Tcl 2014 Conference, Portland/OR, US, Nov 10-14
Send your abstracts to tclconference@googlegroups.com by Sep 8.
Overview

Artifact ID: 77ac5e1d59bbd889fa6b291ca56dc408afeef336
Ticket: ee9501624a9fdc5ec0aae2062c70cffdf1fdf5c2
Improve cross-compilability
Date: 2014-01-28 11:46:02
User: anonymous
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment 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.

  5. Change foundin to "8.5.14"
  6. Change is_private to "0"
  7. Change login to "anonymous"
  8. Change priority to "5 Medium"
  9. Change private_contact to "7ef58cf72ea291c31b08aa8dbaafbc8d36ded9d9"
  10. Change resolution to "None"
  11. Change severity to "Severe"
  12. Change status to "Open"
  13. Change submitter to "anonymous"
  14. Change subsystem to "53. Configuration and Build Tools"
  15. Change title to "Improve cross-compilability"
  16. Change type to "Patch"