From 0040b4704eaf4b243ccf3fe5cd56faa827bdfa8c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 20 Feb 1997 15:25:49 +0000 Subject: - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it in importdl.c (I had just one crash too many with a static python importing a dynamic module) - On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes. --- Mac/mwerks/mwerks_nonshared_config.h | 4 ++++ Mac/mwerks/mwerks_shared_config.h | 4 ++++ Mac/mwerks/mwerks_small_config.h | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h index 33a70f9..b71b3ad 100644 --- a/Mac/mwerks/mwerks_nonshared_config.h +++ b/Mac/mwerks/mwerks_nonshared_config.h @@ -18,5 +18,9 @@ #define MAC_TCL /* This *must* be on if USE_TK is on */ /* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ /* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ +/* #define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ #define USE_GDBM /* Include the gdbm module */ +#ifdef __powerc +#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ +#endif diff --git a/Mac/mwerks/mwerks_shared_config.h b/Mac/mwerks/mwerks_shared_config.h index 8d6db02..313a6f6 100644 --- a/Mac/mwerks/mwerks_shared_config.h +++ b/Mac/mwerks/mwerks_shared_config.h @@ -19,4 +19,8 @@ /* #define MAC_TCL /* This *must* be on if USE_TK is on */ #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ +#define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ +#ifdef __powerc +#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ +#endif diff --git a/Mac/mwerks/mwerks_small_config.h b/Mac/mwerks/mwerks_small_config.h index aa3c791..26378ee 100644 --- a/Mac/mwerks/mwerks_small_config.h +++ b/Mac/mwerks/mwerks_small_config.h @@ -18,4 +18,9 @@ /* #define MAC_TCL /* This *must* be on if USE_TK is on */ /* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */ /* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */ +/* #define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */ /* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */ +/* #define USE_GDBM /* Include the gdbm module */ +#ifdef __powerc +#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */ +#endif -- cgit v0.12