This is the mail archive of the gcc-help@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: help with installing gcc in os x please.


starting from the start again.

got a problem with the patch

i've put this text:

--- 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

into a text file, into the srcdir
i've navigated to the srcdir in the terminal and typed:
patch -patch
('patch' is the patch text file's name) and i get this:
patch: **** strip count atch is not a number

:/ i can't remember how i did that last time, but maybe the problem's here?


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