Is it the intent to fully support C++ in this port, inclusive of static initializers and exceptions? (Exclusive of features that require host support like threads, though it'd be good if <chrono> could be used with various MSP430 clocks providing the underlying timers.)
Proper support for C++11 in msp430-elf-gcc sometime soon would be one of the things that will slow my move to ARM-based microcontrollers. I can respect flags that disable its support; I don't want to have to add flags to put support back, or find language-mandated features do not work. (The move to ARM is inevitable, though; MSP430 just doesn't stack up so well anymore, even for ultra-low-power applications). Peter On Thu, Mar 6, 2014 at 12:07 PM, DJ Delorie <d...@redhat.com> wrote: > >> Er, that reminds me, I missed some stuff in the doc about removing >> Java support... sigh. > > I added this: > > > Lastly, there's a GCC option -minrt that tells gcc to use a "minimum > runtime" for programs that do not need static initializers or > constructors (popular in C++ and Java). Note that this is different > than initialized data (like "int j = 5;"), this is for functions that > need to be called before main() is. You can also forcibly remove the > extra language support in your linker script by discarding anything > from crtbegin/crtend: > > /DISCARD/ : { *crtbegin*.o(*) *crtend*.o(*) } > > Don't forget to take out the KEEP's for crtbegin/end too, though ;-) > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users