Opened 2 years ago

Last modified 19 months ago

#66355 new enhancement

arm-none-eabi-gcc: add newlib nano support

Reported by: trail-coffee (Eric Bassett) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: newlib, newlib-nano, nano, arm-none-eabi-gcc Cc: mojca (Mojca Miklavec), judaew (Vadym-Valdis Yudaiev), denis-fr (Denis)
Port: arm-none-eabi-gcc

Description

Port arm-none-eabi-gcc copies nano.specs and some projects looks for nano.specs as indication that newlib_nano libraries are installed. I saw ticket#51397 that looks like *_nano was supported at one time.

I think the proper thing to do is either don't copy nano.specs (like the ubuntu arm-none-eabi-gcc install) or make the *_nano.a libraries using the instructions from ARM in the release notes here. Basically build with nano options in new build directory then use their copy_nano_libraries.sh.

I think I can get it working with some guidance on the proper way to do things. Should this be a variant on arm-none-eabi-gcc and just fetch{} to use original newlib download, build with the options from the linaro manifest, and do the renames to _nano post-build?

Change History (1)

comment:1 Changed 19 months ago by GregoryEAllen (Greg Allen)

#62140 seems related.

Note: See TracTickets for help on using tickets.