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

make on OSX fails #8

Open
bwagner opened this issue Jul 5, 2020 · 4 comments
Open

make on OSX fails #8

bwagner opened this issue Jul 5, 2020 · 4 comments

Comments

@bwagner
Copy link
Contributor

bwagner commented Jul 5, 2020

make on OSX fails
Here's the error output from a fresh clone:
https://gist.github.com/be302e2e7f303cf64a20399b7aa2dbbd

@MestreLion
Copy link
Owner

It seems clang does not accept -m32 option to generate a 32-bit executable on OSX, and that is ultimately causing the build errors. I could try to find an alternative to force a 32-bit build in clang, but I lack an OSX for testing.

@MestreLion
Copy link
Owner

MestreLion commented Jul 5, 2020

Does adding -arch i386 to CFLAGS fixes the problem?

Also, you might need to install some gcc multiarch packages, or their equivalent in OSX.

@bwagner
Copy link
Contributor Author

bwagner commented Jul 5, 2020

Thanks! Here's the output:
https://gist.github.com/d9f34713d7f3075aed0ca3c5b1df6642

@MestreLion
Copy link
Owner

From your log files, it seems OSX cannot build i386 anymore :-(

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)

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