diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-11 23:03:20 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-11 23:03:20 (GMT) |
commit | 6993f27c82efdffa0b0dfea2193926ca4900707f (patch) | |
tree | 4b200b9efc5bee127246c64f1fc4e4ade8c73052 /Mac | |
parent | ca7e1ee01ae29a92a64d72017f22bc94599d709d (diff) | |
download | cpython-6993f27c82efdffa0b0dfea2193926ca4900707f.zip cpython-6993f27c82efdffa0b0dfea2193926ca4900707f.tar.gz cpython-6993f27c82efdffa0b0dfea2193926ca4900707f.tar.bz2 |
Added GUSI-Carbon targets (both threading and nonthreading), and they work!! YEAH!!!
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Build/PythonStandSmall.mcp | bin | 203001 -> 289397 bytes | |||
-rw-r--r-- | Mac/mwerks/mwerks_carbonNOGUSI_config.h | 46 | ||||
-rw-r--r-- | Mac/mwerks/mwerks_carbon_config.h | 2 | ||||
-rw-r--r-- | Mac/mwerks/mwerks_carbongusi_config.h | 44 | ||||
-rw-r--r-- | Mac/mwerks/mwerks_thrcarbonsm_config.h | 47 |
5 files changed, 138 insertions, 1 deletions
diff --git a/Mac/Build/PythonStandSmall.mcp b/Mac/Build/PythonStandSmall.mcp Binary files differindex 4866769..8612281 100644 --- a/Mac/Build/PythonStandSmall.mcp +++ b/Mac/Build/PythonStandSmall.mcp diff --git a/Mac/mwerks/mwerks_carbonNOGUSI_config.h b/Mac/mwerks/mwerks_carbonNOGUSI_config.h new file mode 100644 index 0000000..e886d36 --- /dev/null +++ b/Mac/mwerks/mwerks_carbonNOGUSI_config.h @@ -0,0 +1,46 @@ +/* +** Configuration file for small standalone 68k/ppc Python. +** +** Note: enabling the switches below is not enough to enable the +** specific features, you may also need different sets of sources. +*/ +#define ACCESSOR_CALLS_ARE_FUNCTIONS 1 +#define OPAQUE_TOOLBOX_STRUCTS 1 +#define TARGET_API_MAC_CARBON 1 +#define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */ + +#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */ +/* #define USE_GUSI2 /* Stdio implemented with GUSI 2 */ +/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */ +#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ +#define USE_TOOLBOX /* Include toolbox modules in core Python */ +/* #define USE_CORE_TOOLBOX /* Include minimal set of toolbox modules in core Python */ +#define USE_QT /* Include quicktime modules in core Python */ +/* #define USE_WASTE /* Include waste module in core Python */ +/* #define USE_MACSPEECH /* Include macspeech module in core Python */ +/* #define USE_IMG /* Include img modules in core Python */ +/* #define USE_MACCTB /* Include ctb module in core Python */ +/* #define USE_STDWIN /* Include stdwin module in core Python */ +/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */ +/* #define USE_TK /* Include _tkinter module in core Python */ +/* #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 HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ +/* #define USE_GDBM /* Include the gdbm module */ +/* #define USE_ZLIB /* Include the zlib module */ +#define USE_UCNHASH /* Include ucnhash module */ +#define USE_APPEARANCE /* Enable Appearance support */ + +#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ +#ifndef USE_MSL_MALLOC +/* #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 +#endif + +#ifdef USE_MSL +#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ +#include <ansi_prefix.mac.h> +#endif diff --git a/Mac/mwerks/mwerks_carbon_config.h b/Mac/mwerks/mwerks_carbon_config.h index e886d36..66a189f 100644 --- a/Mac/mwerks/mwerks_carbon_config.h +++ b/Mac/mwerks/mwerks_carbon_config.h @@ -10,7 +10,7 @@ #define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */ #define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */ -/* #define USE_GUSI2 /* Stdio implemented with GUSI 2 */ +#define USE_GUSI2 /* Stdio implemented with GUSI 2 */ /* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */ #define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ #define USE_TOOLBOX /* Include toolbox modules in core Python */ diff --git a/Mac/mwerks/mwerks_carbongusi_config.h b/Mac/mwerks/mwerks_carbongusi_config.h new file mode 100644 index 0000000..e14d953 --- /dev/null +++ b/Mac/mwerks/mwerks_carbongusi_config.h @@ -0,0 +1,44 @@ +/* +** Configuration file for small standalone 68k/ppc Python. +** +** Note: enabling the switches below is not enough to enable the +** specific features, you may also need different sets of sources. +*/ +#define ACCESSOR_CALLS_ARE_FUNCTIONS 1 +#define OPAQUE_TOOLBOX_STRUCTS 1 +#define TARGET_API_MAC_CARBON 1 +#define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */ + +#define USE_GUSI2 /* Stdio implemented with GUSI 2 */ +/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */ +#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ +#define USE_TOOLBOX /* Include toolbox modules in core Python */ +/* #define USE_CORE_TOOLBOX /* Include minimal set of toolbox modules in core Python */ +#define USE_QT /* Include quicktime modules in core Python */ +/* #define USE_WASTE /* Include waste module in core Python */ +/* #define USE_MACSPEECH /* Include macspeech module in core Python */ +/* #define USE_IMG /* Include img modules in core Python */ +/* #define USE_MACCTB /* Include ctb module in core Python */ +/* #define USE_STDWIN /* Include stdwin module in core Python */ +/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */ +/* #define USE_TK /* Include _tkinter module in core Python */ +/* #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 HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ +/* #define USE_GDBM /* Include the gdbm module */ +/* #define USE_ZLIB /* Include the zlib module */ +#define USE_APPEARANCE /* Enable Appearance support */ + +#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ +#ifndef USE_MSL_MALLOC +/* #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 +#endif + +#ifdef USE_MSL +#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ +#include <ansi_prefix.mac.h> +#endif diff --git a/Mac/mwerks/mwerks_thrcarbonsm_config.h b/Mac/mwerks/mwerks_thrcarbonsm_config.h new file mode 100644 index 0000000..3994a99 --- /dev/null +++ b/Mac/mwerks/mwerks_thrcarbonsm_config.h @@ -0,0 +1,47 @@ +/* +** Configuration file for small standalone 68k/ppc Python. +** +** Note: enabling the switches below is not enough to enable the +** specific features, you may also need different sets of sources. +*/ +#define ACCESSOR_CALLS_ARE_FUNCTIONS 1 +#define OPAQUE_TOOLBOX_STRUCTS 1 +#define TARGET_API_MAC_CARBON 1 +#define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */ + +#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */ +#define USE_GUSI2 /* Stdio implemented with GUSI 2 */ +/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */ +#define WITH_THREAD /* Use thread support (needs GUSI 2, not GUSI 1) */ +#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */ +#define USE_TOOLBOX /* Include toolbox modules in core Python */ +/* #define USE_CORE_TOOLBOX /* Include minimal set of toolbox modules in core Python */ +#define USE_QT /* Include quicktime modules in core Python */ +/* #define USE_WASTE /* Include waste module in core Python */ +/* #define USE_MACSPEECH /* Include macspeech module in core Python */ +/* #define USE_IMG /* Include img modules in core Python */ +/* #define USE_MACCTB /* Include ctb module in core Python */ +/* #define USE_STDWIN /* Include stdwin module in core Python */ +/* #define USE_MACTCP /* Include mactcp (*not* socket) modules in core */ +/* #define USE_TK /* Include _tkinter module in core Python */ +/* #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 HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */ +/* #define USE_GDBM /* Include the gdbm module */ +/* #define USE_ZLIB /* Include the zlib module */ +#define USE_UCNHASH /* Include ucnhash module */ +#define USE_APPEARANCE /* Enable Appearance support */ + +#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */ +#ifndef USE_MSL_MALLOC +/* #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 +#endif + +#ifdef USE_MSL +#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ +#include <ansi_prefix.mac.h> +#endif |