I'm using Rowley Associates CrossStudio for ARM v1.7 build 4 (which relies on GCC C++ compiler) to develop a C++ program for an LPC2103. My problem is that I'm running out of code space (flash), mainly because some of the .cpp files I wrote have many class definitions, even though some of those classes are never instantiated from my application. I need to debug, so I need to keep all code optimizations off. Is there any way, keeping optimizations off, to tell the linker NOT to include the code for those classes that are never used by my application?
Thank you. Bill