Skip to content

Building on MAC with M1-chip #125

@ThorvaldAagaard

Description

@ThorvaldAagaard

When executing

brew reinstall gcc --without-multilib

I got this response: Error: invalid option: --without-multilib

 gcc -v
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix

Well this is probably only a performance problem

I went on and copied the makefile for Mac clang, and now hit the next problem as sprint is deprecated.

After replacing sprint with snprintf (second parameter is now a length of first parameter) the compile error went away, and I hit the next problem.

In file included from System.cpp:19:
./parallel.h:21:12: fatal error: 'boost/thread.hpp' file not found
  #include <boost/thread.hpp>
           ^~~~~~~~~~~~~~~~~~

Anyone got a compiled version for the M1-processor?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions