How to use qsort in C file ; ERROR at link time #10574
benoitLecuppe
started this conversation in
General
Replies: 2 comments
-
We do not link against a libc on most platforms. See This prevents accidentally increasing code size by using additional functions. MicroPython provides an implementation of quicksort for sorting lists -- |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok thank you, i will look -nostdlib. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm currently customising "/micropython/ports/esp8266/esppwm.c" and i want to use qsort() from <stdlib.h>.
I have an error during link time :
I think I must add something into makefile to make it work but which one and how ?
Thanks for the help
Benoit (from France)
Beta Was this translation helpful? Give feedback.
All reactions