>
> The interesting parts are: > >> I then ran ./configure CFLAGS='-D__i386__=1 -Wall -pipe -O2' and >> followed up with make which exited giving me a lot of messages like >> src/x86/darwin.S:41:Invalid mnemonic 'pushl' > >> This is a Core 2 Duo; my machine (and I assume that of most other >> Darwin/x86 testers) is a Core Duo. What kinds of breakage might >> there >> be? > >> For the x86 ffitarget.h to compile, either __i386__ or __x86_64__ >> must >> be defined. Neither of these seem to be defined by that compiler >> (gcc >> 4.0.1 20050625 (prerelease)). > > Does that ring a bell? Unfortunately it doesn't ring a bell, but those should be defined in at least recent gccs from apple. I don't have a released compiler installed on any of my machines handy, but looking at gcc -E -dM should get the preprocessor macros defined. Do you have a version of the compiler that was used? -eric _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Hi Adam (I suggest you subscribe the list),
__i386__ should be defined in recent GCCs from Apple. I suggest that you reply with: - the output of "gcc -E -dM -x c /dev/null" and "gcc -m64 -E -dM -x c /dev/null" - the version of Xcode, if you have it installed. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Hi! I subscribed to the mailing list.
Here is the information you requested: Xcode version is 2.4.1. > gcc -E -dM -x c /dev/null #define __DBL_MIN_EXP__ (-1021) #define __FLT_MIN__ 1.17549435e-38F #define __CHAR_BIT__ 8 #define __WCHAR_MAX__ 2147483647 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __FLT_EVAL_METHOD__ 0 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 1 #define __SHRT_MAX__ 32767 #define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L #define __APPLE_CC__ 1 #define __UINTMAX_TYPE__ long long unsigned int #define __LDBL_MAX_EXP__ 1024 #define __SCHAR_MAX__ 127 #define __USER_LABEL_PREFIX__ _ #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __DBL_DIG__ 15 #define __FLT_EPSILON__ 1.19209290e-7F #define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L #define __ppc__ 1 #define __APPLE__ 1 #define __DECIMAL_DIG__ 33 #define __LDBL_HAS_QUIET_NAN__ 1 #define __DYNAMIC__ 1 #define __GNUC__ 4 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_HAS_INFINITY__ 1 #define __DBL_MAX_EXP__ 1024 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __GXX_ABI_VERSION 1002 #define __FLT_MIN_EXP__ (-125) #define __DBL_MIN__ 2.2250738585072014e-308 #define __DBL_HAS_QUIET_NAN__ 1 #define __REGISTER_PREFIX__ #define __NO_INLINE__ 1 #define _ARCH_PPC 1 #define __FLT_MANT_DIG__ 24 #define __VERSION__ "4.0.1 20050625 (prerelease)" #define __BIG_ENDIAN__ 1 #define __SIZE_TYPE__ long unsigned int #define __FLT_RADIX__ 2 #define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L #define __NATURAL_ALIGNMENT__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 2147483647L #define __FLT_HAS_INFINITY__ 1 #define _BIG_ENDIAN 1 #define __LDBL_MANT_DIG__ 106 #define __WCHAR_TYPE__ int #define __FLT_DIG__ 6 #define __INT_MAX__ 2147483647 #define __LONG_DOUBLE_128__ 1 #define __FLT_MAX_EXP__ 128 #define __DBL_MANT_DIG__ 53 #define __WINT_TYPE__ int #define __LDBL_MIN_EXP__ (-968) #define __MACH__ 1 #define __LDBL_MAX_10_EXP__ 308 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __INTMAX_MAX__ 9223372036854775807LL #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __INTMAX_TYPE__ long long int #define __GNUC_MINOR__ 0 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L #define __PTRDIFF_TYPE__ int #define __LDBL_MIN_10_EXP__ (-291) #define __LDBL_DIG__ 31 #define __POWERPC__ 1 > gcc -m64 -E -dM -x c /dev/null #define __DBL_MIN_EXP__ (-1021) #define __FLT_MIN__ 1.17549435e-38F #define __CHAR_BIT__ 8 #define __WCHAR_MAX__ 2147483647 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __FLT_EVAL_METHOD__ 0 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 1 #define __SHRT_MAX__ 32767 #define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L #define __APPLE_CC__ 1 #define __UINTMAX_TYPE__ long unsigned int #define __LDBL_MAX_EXP__ 1024 #define __SCHAR_MAX__ 127 #define __USER_LABEL_PREFIX__ _ #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __DBL_DIG__ 15 #define __FLT_EPSILON__ 1.19209290e-7F #define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L #define __APPLE__ 1 #define __DECIMAL_DIG__ 33 #define __LDBL_HAS_QUIET_NAN__ 1 #define __DYNAMIC__ 1 #define __GNUC__ 4 #define __DBL_MAX__ 1.7976931348623157e+308 #define __DBL_HAS_INFINITY__ 1 #define __DBL_MAX_EXP__ 1024 #define __LONG_LONG_MAX__ 9223372036854775807LL #define __GXX_ABI_VERSION 1002 #define __FLT_MIN_EXP__ (-125) #define __DBL_MIN__ 2.2250738585072014e-308 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __REGISTER_PREFIX__ #define __ppc64__ 1 #define __NO_INLINE__ 1 #define _ARCH_PPC 1 #define __FLT_MANT_DIG__ 24 #define __VERSION__ "4.0.1 20050625 (prerelease)" #define __BIG_ENDIAN__ 1 #define __SIZE_TYPE__ long unsigned int #define __FLT_RADIX__ 2 #define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L #define __NATURAL_ALIGNMENT__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 9223372036854775807L #define __FLT_HAS_INFINITY__ 1 #define _BIG_ENDIAN 1 #define __LDBL_MANT_DIG__ 106 #define __WCHAR_TYPE__ int #define __FLT_DIG__ 6 #define __INT_MAX__ 2147483647 #define __LONG_DOUBLE_128__ 1 #define __FLT_MAX_EXP__ 128 #define __DBL_MANT_DIG__ 53 #define __WINT_TYPE__ int #define __LDBL_MIN_EXP__ (-968) #define __MACH__ 1 #define __LDBL_MAX_10_EXP__ 308 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define _LP64 1 #define __INTMAX_MAX__ 9223372036854775807L #define __FLT_DENORM_MIN__ 1.40129846e-45F #define __FLT_MAX__ 3.40282347e+38F #define __FLT_MIN_10_EXP__ (-37) #define __INTMAX_TYPE__ long int #define __GNUC_MINOR__ 0 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L #define __PTRDIFF_TYPE__ long int #define _ARCH_PPC64 1 #define __LDBL_MIN_10_EXP__ (-291) #define __LDBL_DIG__ 31 #define __POWERPC__ 1 Thank you, / Adam On Jun 5, 2007, at 6:58 AM, Paolo Bonzini wrote: > Hi Adam (I suggest you subscribe the list), > > __i386__ should be defined in recent GCCs from Apple. I suggest > that you reply with: > > - the output of "gcc -E -dM -x c /dev/null" and "gcc -m64 -E -dM -x > c /dev/null" > > - the version of Xcode, if you have it installed. > > Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Thanks for the answer. It looks like your gcc is a PowerPC compiler,
not an Intel one! > #define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L > #define __LDBL_MAX_EXP__ 1024 > #define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L > #define _ARCH_PPC 1 > #define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L > #define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L > #define __POWERPC__ 1 On my PPC Mac, I do have an Intel gcc installed as i686-apple-darwin8-gcc-4.0.1; you may try ./configure CC=i686-apple-darwin8-gcc-4.0.1 make or something like that. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |