-
Notifications
You must be signed in to change notification settings - Fork 102
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
Floating point math (Pow) #39
Comments
Looks like the fix is to change the order in the linker script, to put libm first: At this line: change it from:
to:
I think this was prematurely instructing the linker to remove references to Referencing |
Tried that, still not working. I was getting the errors initially about __errno, but now it's only saying |
Must confess I'm developing locally on my Mac these days, against the v5 ARM tools: Are you running on Vagrant, Docker or locally? |
I'm trying to use pow and running into link errors (undefined reference to 'pow'). What flags do I need to change to get floating point math working?
The text was updated successfully, but these errors were encountered: