Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to make mac build instructions clearer #153

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,25 @@ Recipe instructions courtesy of FrankTheTank;

* `brew install libusb zmq sdl2`

and finally;
If you are on an Intel Mac:

```
export LDFLAGS="-L/usr/local/opt/binutils/lib"
export CPPFLAGS="-I/usr/local/opt/binutils/include"
```

If you are on an Apple Silicon Mac, do not export the environment variables.

You can also see notes under [Issue #63](https://github.com/orbcode/orbuculum/issues/63) from Gasman2014 about building on a M1
mac. You need to watch out for Homebrew binutils...on a M1 Mac you must use the Apple binutils or you will get linker errors. All
you need to do is move the homebrew binutils out of the way while you do the build....no big deal when you know about it.
Mac. You need to watch out for Homebrew binutils...on an Apple Silicon Mac you must use the Apple binutils (e.g. avoid the above environment export
so that x86 homebrew binutils is not used) or you will get linker errors.

And finally,

```
meson setup build
ninja -C build
```


Building on FreeBSD
Expand All @@ -309,6 +318,7 @@ MinGW-w64 from MSys2 is recommended as environment for building Windows distribu
Dependencies
------------
* mingw-w64-x86_64-libusb
* mingw-w64-x86_64-libelf
* mingw-w64-x86_64-zeromq
* mingw-w64-x86_64-meson
* mingw-w64-x86_64-SDL2
Expand Down
Loading