Patch for GCC 3.0 on Redhat 6.2

Justin Judd justin at
Tue Jul 10 14:17:32 PDT 2001

Here's a patch I just created for gcc 3.0. This fixes the error discussed
here (re_max_failures redefinition problem during static compile):

This is the first time I have ever created a patch, and I successfully
applied it to my system, so I hope it works for you guys and gals. I ran
it from the unpacked gcc-3.0 directory with the following

patch -Np0 < gcc-3.0.patch

Please let me know if this patch works or not, or if I did something
wrong. Thanks!

-------------- next part --------------
diff -Naur gcc/fixinc/ gcc-new/fixinc/
--- gcc/fixinc/	Sat May 26 11:56:14 2001
+++ gcc-new/fixinc/	Tue Jul 10 13:43:19 2001
@@ -30,7 +30,7 @@
 STAMP = echo timestamp >
+FIXINC_DEFS = -Dre_max_failures=re_max_failures2 -DIN_GCC -DHAVE_CONFIG_H $(FL_LIST) $(INCLUDES)
 # Directory where sources are, from where we are.
 srcdir = @srcdir@

More information about the lfs-dev mailing list