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
Linux version doesn't link to libm for math.odin #44
Comments
Why does it need to? If you can list what needs libm in compilation, then this will be a quick fix, as the proper way to solve this is to have something like this in the offending file: #foreign_system_library libm "m";
my_libm_proc :: proc() #foreign libm; |
|
gingerBill
added a commit
that referenced
this issue
Apr 26, 2017
I'm adding it to the next commit. However, I hope to remove the explicit need for it later. |
@gingerBill thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved it by directly inserting
-lm
to this line: https://github.com/gingerBill/Odin/blob/a80872b/src/main.c#L433The text was updated successfully, but these errors were encountered: