help with installing gcc in os x please.

Ben Dougall bend@freenet.co.uk
Sat Dec 28 08:58:00 GMT 2002


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?



More information about the Gcc-help mailing list