Code size doubles when converting C project to C++ Posted by modtronix on 2015-07-29 01:14 I figued it out. Doing the following seems to use newLib (nano), and reduces code size by about half. In , and in the "MCU G++ Linker", "Miscellaneous" section add the following flags: -specs=nano.specs