ok,
...now I've tried it...
On Jul 6, 2005, at 10:03 AM, james tittle wrote:
On Jul 6, 2005, at 5:28 AM, günter geiger wrote:
Is this 10.3 specific ?
...nope, I get the same stuff on 10.4.1 with gcc-4.0...
...aha! finally someone else tests out the osx stuff before me! :-)
...anyway, I'll get to trying out the "even newer" build system today...just looking at the g++ line I can already see lots of unfamiliar things, especially "-ip -ipo_obj"...
hang in there...
...here's what I'm seeing when trying a "cold" make in Gem/src:
Result: Target : Gem.pd_darwin Objects : Base Controls Geos Manips MarkEx Nongeos Particles Pixes openGL
Configuration: Compiler : g++ CXXFLAGS : -g -O2 -framework OpenGL -framework AGL - framework Carbon -framework QuickTime -freg-struct-return -O3 -fno- builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I/usr/ X11R6/include : -I/sw/include INCLUDES : DEFINES :
LIBS : -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 - ldl -lz -lm -L/usr/X11R6/lib : -L/sw/lib -L/usr/X11R6/lib -llcms -ltiff - lfreetype -ljpeg -lpng -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz - lm -lpthread -lMagick++ -lMagick LDFLAGS : -shared -Wl,-export-dynamic : -L/usr/X11R6/lib
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.0
used optional libraries:
font-rendering :
image-support use ImageMagick : yes use TIFF : no use JPEG : no video-support use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use ffmpeg : no input-support use v4l : no use ieee1394 : no
misc using ARB-extensions : yes using reg-struct-ret : yes
compiler yes
Now run make ...
...just some thoughts:
* -framework isn't a CXXFLAG, it's a linker flag... * probably should default to no-x11 on osx, with the option of re- configuring if ya want to try it with gem (never have myself): plus, the libs will probably cause havoc conflicting with the frameworks (especially -lGL) * m_pd.h is found for me, but then I don't install into /usr/local * "-shared -Wl,-export-dynamic" isn't the correct way to link: we use "-bundle -bundle_loader /where/is/pd" * I'm not sure if we should use -O3, -Os is seemingly recommended in apple's docs (basically -O2 + smaller size)...
...those are just off the top of my head, will continue to poke around and re-configure as I used for the /src/gnu build system...
jamie