[Bf-committers] MacOS Compile Solved -WARNING

Michael Velikanje bf-committers@blender.org
Sat, 27 Sep 2003 14:00:18 -0800


****> Link  
/Users/michaelv/bf-blender/blender/obj/darwin-6.6-powerpc/bin/blender
g++-3.3 -DNDEBUG -O -DBUILD_DATE='"2003-09-27"'  
-DBUILD_TIME='"13:21:45"' -DBUILD_PLATFORM='"darwin-6.6-powerpc"'  
-DBUILD_TYPE='"dynamic"

I have gotten blender to compile using g++3.3 (OS X 2.6) by setting the  
(-mcpu=G4 -fast) flags, the default for g++3.3 is for the -mcpu=G5 flag  
to be set. I added this to nan_compile.mk:
<<
ifeq ($(OS),darwin)
     CC	= gcc-3.3
     CCC	= g++-3.3
     CFLAGS	+= -pipe -fPIC -mcpu=G4 -fast
     CCFLAGS	+= -pipe -fPIC -mcpu=G4 -fast
 >>
This compiled fine, and produced a working binary:) Before setting the  
flags I had the same error/warning that Bischofftep had about AIFF.h.

Michael Velikanje

------------------------------------------------------------------------ 
----------
Subject: [Bf-committers] MacOS Compile Solved - WARNING
Reply-To: bf-committers@blender.org

Hey all:

Okay, working with Michael Velanjke (sp?) I figured out what the
problem has been with my compiling on OS X.

This may be old news, but it's important to me: Blender will not
compile under gcc 3.3, but does just fine under 3.1.



Why is this important to me?

When Apple ships the G5 Macintosh with OS 10.3, the only dev tools
which will compile for that machine will be the latest version: gcc 3.3
with Apple's extensions for G5 compatibility.

Right now, due to problems in the way QuickTime is handled in Blender's
source, it will NOT compile under gcc3.3.

If I'm crying wolf, please let me know... but as far as I can tell this
will be a problem we have to fix at some point.

Thanks for the help,

-Bischofftep