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: gcc-3.4-20041224 is now available


gccadmin@gcc.gnu.org dixit:

>Snapshot gcc-3.4-20041224 is now available on
>  ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20041224/
>and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

I've ported this to MirOS (http://mirbsd.de/ for more info) quite
successfully. However, there are some things that had to be patched.

Index: system.h
===================================================================
RCS file: /cvs/gcc/gcc/system.h,v
retrieving revision 1.1.2.1
retrieving revision 1.2
diff -u -r1.1.2.1 -r1.2
--- system.h	4 Jan 2005 17:22:58 -0000	1.1.2.1
+++ system.h	5 Jan 2005 00:01:24 -0000	1.2
@@ -577,7 +577,7 @@
 #undef strdup
  #pragma GCC poison calloc strdup
 
-#if !defined(FLEX_SCANNER) && !defined(YYBISON)
+#if !defined(FLEX_SCANNER) && !defined(YYBISON) && !defined(YYBYACC)
 #undef malloc
 #undef realloc
  #pragma GCC poison malloc realloc

This allows Berkeley YACC generated parsers to use malloc and
realloc and matches the #if a few lines further above.

CVSweb says this also applies to mainline.

FYI, I've already signed the FSF copyright papers for gcc.

bye,
//mirabile


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