[haiku-development] Re: buildtools PPC questions

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 28 Mar 2009 21:34:49 +0100 CET

> Do the build tools in the svn trunk have to stay virgin?
>
> I am trying to get Haiku PPC to compile on GCC 4 and and finding some
> needed patches. (mostly -Werror removal stuff)

Hmm depends if you have the latest gcc build or an older version, it
was updated some weeks ago...
If not something like this will work around it:

Index: build/jam/BuildSetup
===================================================================
--- build/jam/BuildSetup        (révision 29758)
+++ build/jam/BuildSetup        (copie de travail)
@@ -990,10 +990,10 @@
 } else {
        # -Wuninitialized gives too many false positives.
        rule EnableWerror dirTokens : scope {
-               AppendToConfigVar CCFLAGS : HAIKU_TOP $(dirTokens)
-                       : -Werror -Wno-error=uninitialized : $(scope) ;
-               AppendToConfigVar C++FLAGS : HAIKU_TOP $(dirTokens)
-                       : -Werror -Wno-error=uninitialized : $(scope) ;
+#              AppendToConfigVar CCFLAGS : HAIKU_TOP $(dirTokens)
+#                      : -Werror -Wno-error=uninitialized : $(scope) ;
+#              AppendToConfigVar C++FLAGS : HAIKU_TOP $(dirTokens)
+#                      : -Werror -Wno-error=uninitialized : $(scope) ;
        }
 }

François.

Other related posts: