Re: static initializer
"coles555" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
I think you are right about the PB board not having enough memory for C++ code. But it's wierd that only _ctors and _dtors are ones outside of memory range. Everything else seems to be within bound when I view the global variables address. Lei --- In [email protected], "murphynetuk" <murphynetuk@y...> wrote: > > > > > As Ian is implying, converting to C instead of C++ may be your only > hope ... but > > you can try things like removing formatter and stream library calls > from your > > code (which are implicit with C++ rather than explicit with C). > > > > Randall > > > > Commenting out the <iostream> stuff took it down to 2.2kb. > Replacing it with printf took it back up to 16kb. > > And there was I thinking that printf was bloated... > > Ian > ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM --------------------------------------------------------------------~-> ----------------------------------------------------------- To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MPC500/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/