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

Problems building on macOS 10.14.6 Mojave #5

Open
carlca opened this issue Aug 7, 2020 · 2 comments
Open

Problems building on macOS 10.14.6 Mojave #5

carlca opened this issue Aug 7, 2020 · 2 comments

Comments

@carlca
Copy link

carlca commented Aug 7, 2020

I downloaded the zyn-build-osx scripts and with them in a parallel folder to the zynaddsubfx-3.0.5 folder, I ran the doit.sh script. The build seemed to progress until it terminated with the error...
clang: error: unsupported option '-static-libgcc'

The process did, however, generate a src folder in my ~ folder and this contained two subfolders zyn_build_x86_64 and zyn_stack_x86_64 and further subfolders. Examination of this did not reveal any built binaries such as VSTs, so I guess the process was indeed terminated prematurely.

Any idea what I have done wrong, and how I can fix this. Cheers!

@x42
Copy link
Member

x42 commented Aug 7, 2020

The current scripts expect gcc (not clang). You have to run ./00_gcc7.sh once manually to bootstrap that compiler.
This was done to provide distributable builds are compatible from OSX 10.5 .. 10.15. (Apple's clang uses a libc++ that is 10.9 or later only).

If that does not matter to you you can edit the script and remove the static options.

@carlca
Copy link
Author

carlca commented Aug 11, 2020

I've been trying various things for 4 days, as the now-deleted messages described. I ran the ./00_gcc7.sh script. That didn't work. Can you explain in clear steps how I 'edit the script and remove the static options'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants