Compiling root on mac


I am running Mac OS X v10.4.10, PowerPC G4.
After I couldn’t get root to work by just copying over the binaries, I decided to try to build from CVS. But this fails also.

First, I run :
./configure macosx
and it doesn’t produce any obvious warnings or errors, and tells me to run make.

When I run make, I get the error :
osulap01 Fri 12:07 [root] make
g++ -O2 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -fvisibility-inlines-hidden -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/mainroot.o -c build/rmkdepend/mainroot.cxx
cc1plus: error: unrecognized option `-fvisibility-inlines-hidden’
make: *** [build/rmkdepend/mainroot.o] Error 1

Is there something wrong with my setup.
Is this because I am using gcc 3.3 ?


Yes, please install the latest XCode which comes with gcc 4.0.1. No other combination is supported on the Mac.

Cheers, Fons.