-
Notifications
You must be signed in to change notification settings - Fork 578
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
Native MacOS build support #399
Conversation
Nice! Unfortunately I'm missing mips-linux-gnu, what'd be the replacement for mac? |
I'm running into the same issue. |
Thanks for your work on this. It'll be awesome to have it working on my laptop. |
@ethteck thanks for taking care of this! |
@FryJay @i82orbom thanks for your patience! Please try https://github.com/zeldaret/oot/blob/64e755080e40ef248b5fd55e4ad2589c79bfcdf0/docs/BUILDING_BINUTILS_MACOS.md and let me know how it goes / if you encounter any issues! |
The binutils build seems to work though it ends with "Nothing to be done for 'install' but that might be for a specific subdirectory because a bunch of stuff is installed. When I run gmake setup though, I get a lot of these messages:
which also appear if I attempt a gmake -j. Make produces the same error. |
I also tried the commands in the new guide using gmake in case that made a difference but that only seemed to result in minor output changes but no changes to the outcome. |
After cleaning and remaking ZAP2 like you suggested, I can now successfully build the project on my laptop. |
@FryJay did you see this error? /bin/sh: line 0: cd: testsuite: No such file or directory I'm currently trying to build, but I can't, I tried to disable libiberty, but it's needed by other stuff... |
No I don't think I ran into that one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! thanks a lot
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
@ethteck I'm not sure if this is related to the mac build or my setup, but I'm getting issues using the diff script, it can't find any symbol, whereas with the build from the docker it can... |
have you ran make and updated expected/ lately? |
Setting this env vars in the bash profile solved the issue: export LANG="en_US.UTF-8" Diff.py is checking for some english fixed strings in the .map file, having a different locale will generate translations for those strings, making the diff script not work. |
* MacOS build OK * Adding build instructions for building mips-linux-binutils on MacOS * * * Update Makefile Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
The time of MacOS support is upon us.
I had to make some changes to the Makefile to support the weird diferences in some tools. I also updated the readme to add some Mac setup help and remove the docker-sync stuff.
The spec comment move was necessary due to the empty line left after removing that comment causing some issues in the spec parser.