#30240: Installing gcc45 +universal does not result in a universal gcc45 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: ---------------------------------+------------------------------------------ I'm trying to create a gcc45 install that will work on either 32 or 64 bit Intel. The dependencies appear to get built with +universal but the resulting gcc binaries are 64 bit only. I started with a clean MacPorts install of 2.0.0rc1 on Snow Leopard. {{{ $ port installed No ports are installed. $ sudo port mpkg gcc45 +universal ... $ sudo port install gcc45 +universal ---> Computing dependencies for gcc45 ---> Installing gcc45 @4.5.3_0+universal ---> Activating gcc45 @4.5.3_0+universal ---> Cleaning gcc45 }}} Sample dependency that has universal binary: {{{ $ file /opt/local/bin/xgettext /opt/local/bin/xgettext: Mach-O universal binary with 2 architectures /opt/local/bin/xgettext (for architecture i386): Mach-O executable i386 /opt/local/bin/xgettext (for architecture x86_64): Mach-O 64-bit executable x86_64 }}} But the gcc binaries are 64 bit only: {{{ $ file /opt/local/bin/*gcc* /opt/local/bin/gcc-mp-4.5: Mach-O 64-bit executable x86_64 /opt/local/bin/gccbug-mp-4.5: POSIX shell script text executable /opt/local/bin/x86_64-apple-darwin10-gcc-4.5.3: Mach-O 64-bit executable x86_64 /opt/local/bin/x86_64-apple-darwin10-gcc-mp-4.5: Mach-O 64-bit executable x86_64 }}} -- Ticket URL: <https://trac.macports.org/ticket/30240> MacPorts <http://www.macports.org/> Ports system for Mac OS