Hi,

Just some info that might be of interest when building 2.8.10 on Snow Leopard.

I patched Alien to return the following extra flags out of wx_widgets_configure_extra_flags

my $extra_flags = 'CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0 --enable-graphics_ctx --with-opengl --disable-compat26 --enable-mediactrl --with-expat=builtin --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin --with-libxpm=builtin --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk --with-macosx-version-min=10.4';

Some may be unnecessary - I'm just trying to keep the same options across platforms - but the important ones are the CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0

Without using these you get the default 4.2 gcc - which does not work even though you have specified the right thing for 10.4.

For info, if you are building other modules against ActivePerl on Snow Leopard, you appear to need

perl Makefile.PL CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0

for the same reason. (I built OpenGL to support GLCanvas )


Cheers

Mark

Reply via email to