forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix lm32 makefile include paths #2
Comments
This is mostly resolved with 015e480. However, I still don't understand why we need to specify |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current makefile links with
ld
directly, but depends on libc from GCC. To be able to link we hardcode the path to thelibc.a
:LIBS = -L/opt/lm32/lm32-elf/lib -lc -L/opt/lm32/lib/gcc/lm32-elf/6.3.0 -lgcc
We depend on libc for
setjmp
,longjmp
. As we don't need libgcc, we could drop the second part of this to not depend on the path of a specific GCC version.However, we would prefer to use GCC to link.
The text was updated successfully, but these errors were encountered: