Compiling without newlib and/or newlib-nano

Discussions concerning TrueSTUDIO for STM32 9.0.0 and later versions.

Moderators: Markus Girdland, Mattias Norlander

Posts: 1
Joined: Thu Jan 24, 2019 1:12 am

Compiling without newlib and/or newlib-nano

Postby micronpn » Thu Jan 24, 2019 11:36 am

Hello guys,
I need to build an application without using the C standard library so without newlib or newlib-nano. I am normally able to do that using other IDEs and the command row (or editing the makefile by hands). In this case my customer will have to maintain its project at the end and for him is not comfortable to work in this way.
Seems that -nostdlib and the other common options to force gcc to don't link the C standard library and its startup code don't work (or are not sufficient) in TrueSTUDIO so... what have I to do to compile and link an application without any library normally provided by gcc?

Return to “TrueSTUDIO for STM32 discussions”

Who is online

Users browsing this forum: No registered users and 2 guests