Replies: 2 comments
-
We don't hardcode a |
Beta Was this translation helpful? Give feedback.
0 replies
-
The content:
I actually see now. I was thinking I was using ldc downloaded using the I now properly switched to ldc2 from the install.sh script and now the code compiles successfully. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm trying to build a hello world program targeting IOS. I'm compiling with
-betterC
so that I don't bother with phobos.I've mostly followed the cross compiling with LDC page. I'm using this toochain.
Example program:
I'm building the source with
CC=aarch64-apple-darwin-clang ldc2 test.d -mtriple=arm64-apple-ios16.4 -v -betterC
, however the compiler complaints with following messages:Running the previous command with
-v
shows:If I remove
-L/usr/lib64
from clang command the code compiles successfully (as well as runs fine). Question is how to tell LDC not to add this parameter?Or maybe I'm doing this all wrong? Why it's complaining about these two libs only?
Beta Was this translation helpful? Give feedback.
All reactions