Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 months ago.
_impure_ptr and __locale_ctype_ptr undefined
I am trying to link a library built with arm-none-eabi-gcc with ARMC6 under MBed Studio. During link time I have _locale_ctype_ptr and _impure_ptr which are undefined.
After googling them It looks like they are coming from the newlib used by gcc.
Is there any chance to have armcc linking with this library ?
8 months, 3 weeks ago.
Unfortunately linking to a library built with GCC_ARM using a different compiler is not a supported method. If the library is not using a compatible ABI I would recommend either recompiling the library in ARMC6, or compile your application using GCC_ARM.
Mbed CLI by default will install the GCC_ARM toolchain as the default compiler: