dear expert:
is it possible to compile root with the new --enable-cocoa in MacOSx 10.5.8 Leopard (XCode3.1.4).
after fixing some issue when configure try to reach SDK (rewrite OSXSDK variable so configure actually finds path to SDK) I start compiling and precisely at Cocoa it break with:
g++ -O2 -m64 -mmacosx-version-min=10.5 -o bin/rlibmap core/utils/src/rlibmap.o
bin/rmkdepend -R -fcore/macosx/src/CocoaUtils.d -Y -w 1000 – -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -D__cplusplus – /Users/arian/CERN/root/root-5.34.02/core/macosx/src/CocoaUtils.mm
g++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -ObjC++ -o core/macosx/src/CocoaUtils.o -c /Users/arian/CERN/root/root-5.34.02/core/macosx/src/CocoaUtils.mm
cc1objplus: error: invalid option argument ‘-ObjC++’
I am using:
~/CERN/root/root-5.34.02$ g++ --version
g++ (GCC) 4.5.2
tia