Ticket #18430 (closed enhancement: invalid)
How to build 64-bit binaries?
| Reported by: | cerieljacobs@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | wiki | Version: | 1.7.0 |
| Keywords: | 64-bit | Cc: | |
| Port: |
Description
Can 64-bit MacPort binaries be build by editing /opt/local/etc/macports/macports.conf and changing: universal_archs ppc i386 to: universal_archs x86_64 ? Or how should 64-bit building of binaries be done within MacPorts?
Change History
comment:1 in reply to: ↑ description Changed 4 years ago by cerieljacobs@…
comment:2 Changed 4 years ago by blb@…
- Status changed from new to closed
- Resolution set to invalid
Note that email was written prior to the 1.7.0 release, so it applies to 1.7.0 as well; setting universal_archs and build +universal can get you 64bit binaries, in those cases where a port is known to build universal and work with 64bit in the first place.
Also see http://lists.macosforge.org/pipermail/macports-users/2009-February/013777.html.
Note: See
TracTickets for help on using
tickets.


In trunk you can also use +universal to build pure 64-bit binaries. It contains a new setting universal_archs in macports.conf where you can set which archs should be build by using +universal. If you set it to x86_64 (or ppc64) only, you get pure 64-bit binaries. Consider it some kind of hack, and please not that +universal does not work for all ports...
Source: http://lists.macosforge.org/pipermail/macports-users/2008-May/010175.html