#27574: obc: Portfile and patch for Oxford Oberon 2 compiler ------------------------------------------+--------------------------------- Reporter: jking+macports@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: oberon obc oberon2 Port: obc | ------------------------------------------+--------------------------------- Comment(by mike@…): Replying to [comment:14 ryandesign@…]:
When you say x86, you mean i386? The possible architectures in MacPorts are i386, x86_64, ppc, and ppc64. Yes, i386: although in practice that really means that the code suits processors that >= i486, and wouldn't work on the original 80386/80387. Since there aren't any macs that are < Pentium, it's a moot point that appeals only to avid readers of the Intel architecture manuals.
If building on an x86-64 machine, the C components (i.e. the runtime system) need to be built in 32-bit. It doesn't matter whether the OCaml components (i.e. the Oberon compiler) are built with the 32-bit or the 64-bit OCaml compiler. I don't know much about MacPorts, so I don't know how accurately you can specify that requirement.
I believe we already specify that. We say "supported_archs i386 ppc" meaning that MacPorts will pass "-arch i386" (or "-arch ppc") in the CFLAGS, CXXFLAGS and LDFLAGS when building obc. MacPorts will enforce this architecture for all dependencies as well, except that we also write "depends_skip_archcheck ocaml" so that MacPorts does not attempt to enforce any particular architecture of ocaml.
Sounds good to me. -- Ticket URL: <https://trac.macports.org/ticket/27574#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS