I use Code::Blocks and TI/Redhat gcc compiler.
I've got a problem with code size during the project building. When I compare the MAP file of the build with the one from one of the old projects, I see a difference in library object files source/ The old project uses f5mul directory, the new one takes lib files from an upper directory (/ti/gcc/msp430-elf/lib).
An example from the MAP file:
Old (good) project:
LOAD /home/drvlas/ti/gcc/bin/../lib/gcc/msp430-elf/4.9.1/f5mul/libgcc.a
New (bad) project:
LOAD /home/drvlas/ti/gcc/bin/../lib/gcc/msp430-elf/5.3.0/../../../../msp430-elf/lib/libc.a
I cannot find in my IDE setup what causes the difference. Still, I think that the growth of the code size is linked to it.
UDDATED. The version of the compiler has changed from 4.9.1 to 5.3.0. I try to build the old project - the linker shows lack of memory too. So, the problem may be redefined so: the project that was OK with 4.1.9 version of compiler cannot be built with 5.3.0.