Overview
| Artifact ID: | 6f9bf20fd4ae7b226f1f330d5e8ec39a9eb4e9b9 |
|---|---|
| Ticket: | d19aef1487a940bbf8ce7553b4aacc88e5ae9621
Does not cross-compile for iOS 6 - patch included. |
| User & Date: | anonymous on 2014-07-29 09:21:24 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
When building for iOS 6 as target (--host=arm-apple-darwin) with load disabled (--disable-load), two problems occur: * The declaration of TclpLoadMemory differs from its definition. * Some defines do not distinguish between __APPLE__ and ios/macosx. diff -rupN tcl8.6.1.orig/generic/tclLoadNone.c tcl8.6.1/generic/tclLoadNone.c --- tcl8.6.1.orig/generic/tclLoadNone.c 2013-09-19 21:04:14.000000000 +0200 +++ tcl8.6.1/generic/tclLoadNone.c 2014-07-29 08:57:30.000000000 +0200 @@ -104,7 +104,7 @@ TclpLoadMemory( int size, /* Dummy: unused by this implementation */ int codeSize, /* Dummy: unused by this implementation */ Tcl_LoadHandle *loadHandle, /* Dummy: unused by this implementation */ - Tcl_FSUnloadFileProc **unloadProcPtr) + Tcl_FSUnloadFileProc **unloadProcPtr, int flags) /* Dummy: unused by this implementation */ { Tcl_SetObjResult(interp, Tcl_NewStringObj("dynamic loading from memory " diff -rupN tcl8.6.1.orig/unix/tclUnixPort.h tcl8.6.1/unix/tclUnixPort.h --- tcl8.6.1.orig/unix/tclUnixPort.h 2013-09-19 21:04:17.000000000 +0200 +++ tcl8.6.1/unix/tclUnixPort.h 2014-07-29 11:01:56.000000000 +0200 @@ -541,7 +541,11 @@ extern int errno; *--------------------------------------------------------------------------- */ -#if defined(__APPLE__) && defined(__DYNAMIC__) +#ifdef __APPLE__ +#include "TargetConditionals.h" +#endif + +#if defined(__APPLE__) && defined(__DYNAMIC__) && TARGET_OS_MAC # include <crt_externs.h> # define environ (*_NSGetEnviron()) # define USE_PUTENV 1 - foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "37918056d323dc69a2f76cecc85476189094f3b8"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "52. Portability Support"
- title changed to: "Does not cross-compile for iOS 6 - patch included."
- type changed to: "Bug"