How to build GCC ARM project with hard restrictions to link libgcc?

188 Views Asked by At

Im has found, what even with --specs.nano.specs --specs.nosys.lib will link libgcc, if some dependencies request it (like some float operations).

With -nostdlib flag, compiler will throw out newlib-nano too and obiviusly fail on build.

So the question is - how to save ability to link newlib-nano, but get error if some entity request any code what newlib-nano havent, butlibgcc have?

0

There are 0 best solutions below