GithubHelp home page GithubHelp logo

Comments (3)

mflatt avatar mflatt commented on August 19, 2024

You're right that BUILDING needs more instructions, at a minimum, and probably there should be more direct support in the configure and make files.

Here's a recipe that should work:

  • Build for your current architecture with ./configure and make (but no need to install).
  • Build tarm64osx boot files with make tarm64osx.boot.
  • Re-configure with ./configure -m=tarm64osx CFLAGS="-arch arm64" --prefix=/tmp/out, replacing /tmp/out with a place where you'd like the result to end up.
  • Build with make kernel, which builds just the C-implemented kernel for Arm64 without trying to run it. (This will also take advantage of the fact that the earlier make created bin/zuo, and that one will be used.)
  • Use make install to gather everything into (your replacement for) /tmp/out.

This recipe should work in general, except that more work may be needed to select the right C compiler in the middle step, depending on how the target platform relates to the current one.

from chezscheme.

ryandesign avatar ryandesign commented on August 19, 2024

Thanks, I'm trying that out.

We are also currently using the configure args --threads --libkernel LZ4=-llz4 ZLIB=-lz. Should I now be specifying those in the first configure invocation, the second one, or both?

from chezscheme.

mflatt avatar mflatt commented on August 19, 2024

The second configure is the relevant one for those flags, since I think those are meant to configure the result. They would be fine to use for the first ./configure to build for the current machine, since you have those libraries installed universal.

from chezscheme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.