-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build crystal darwin/x86_64 from darwin/arm64 #13972
Comments
Continue working on building x86_64 build.
Partially made some The command generated by
With modifing it with -target, the result was successfull:
|
I wonder how I can add extra flags to I tried overried LDFLAGS, that propogated to
|
Found the problem. In my scenario i used embeded crystal. It seems it does not have cross-platform features. I managed at least to compile x86_64 version. |
Bug Report
I am trying to build crystal x86_64 from MacOS M1.
It is required for crystal-lang/distribution-scripts#265
I found few details:
cc
does not use recieve any target argument.cc
includes-L/opt/homebrew/...
, that's arearm64
cc
with-v
, than it shows:Run cc -v ...
cc
with-v -target==x86_64-apple-darwin
, than it shows:Run cc -v -target x86_64-apple-darwin ...
The text was updated successfully, but these errors were encountered: