#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 | ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: Replying to [comment:13 mike@…]:
The configure script attempts to recognise the host architecture, and enables the JIT if the architecture is one of the ones supported, from this short list: [x86].
When you say x86, you mean i386? The possible architectures in MacPorts are i386, x86_64, ppc, and ppc64.
So it shouldn't be necessary to specify --disable-jit, whatever the architecture.
Ok, I commited my patch in r74441.
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. -- Ticket URL: <https://trac.macports.org/ticket/27574#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS