KDEGames and Compilers

Jeremy Lavergne jeremy at lavergne.gotdns.org
Fri Feb 11 10:27:44 PST 2011


>> It looks like kdegames4 @4.6.0 needs gcc4.4 or newer [1], which isn't a big deal in it's own: dependencies atlas/numpy make use of it as well. Unfortunately the current build setup passes -arch to the macports-gcc-4.4.
> 
> What is this "current build setup"?

I mean doing nothing special: using the Portfile as-is with configure.compiler set to macports-gcc-4.4.

>> Do we have a way of stopping that -arch flag from showing up? It might also be from PortGroup files.
> 
> MacPorts base should already know not to pass -arch flags to compilers that don't know how to handle them, as long as you're specifying the compiler by using configure.compiler. See proc portconfigure::arch_flag_supported in portconfigure.tcl:
> 
> 
> http://trac.macports.org/browser/trunk/base/src/port1.0/portconfigure.tcl?rev=73708#L333

Then I'd be left assuming something in CMake might be forcing this then, or perhaps flags for CMake in Qt/KDE PortGroups.

> Using a MacPorts gcc compiler, and thus losing support for -arch flags, means lots of fun for supporting universal variants.

KDEGames4 already says no to universal :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110211/477927ba/attachment.bin>


More information about the macports-dev mailing list