This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed 3.2 bootstrap on mac os x 10.2



Compilation successful with your patch. Thanks for the help.

Would someone like to post a success (after patching) for powerpc-apple-darwin6.0 on the status page?

Thanks again.
- Jason

% gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin6.0/3.2/specs
Configured with: ../gcc-3.2/configure --host=powerpc-apple-darwin6.0 --enable-threads --enable-shared
Thread model: single
gcc version 3.2

Here the patch to add to stddef.h, this is already included in the trunk.

--- gcc-04072002/gcc/ginclude/stddef.h Wed Jan 9 13:28:06 2002
+++ gccsrc/gcc/gcc/ginclude/stddef.h Thu Jul 4 18:37:27 2002
@@ -242,6 +242,7 @@
#ifndef _WCHAR_T_
#ifndef _BSD_WCHAR_T_
#ifndef _BSD_WCHAR_T_DEFINED_ /* Darwin */
+#ifndef _BSD_RUNE_T_DEFINED_ /* Darwin */
#ifndef _WCHAR_T_DEFINED_
#ifndef _WCHAR_T_DEFINED
#ifndef _WCHAR_T_H
@@ -278,6 +279,7 @@
#ifdef _BSD_RUNE_T_
#if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE)
typedef _BSD_RUNE_T_ rune_t;
+#define _BSD_RUNE_T_DEFINED_
#define _BSD_WCHAR_T_DEFINED_
#if defined (__FreeBSD__)
/* Why is this file so hard to maintain properly? In constrast to
@@ -295,6 +297,7 @@
#endif
#ifndef __cplusplus
typedef __WCHAR_TYPE__ wchar_t;
+#endif
#endif
#endif
#endif






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]