Re: mspg++ and c++ includes
"William \"Chops\" Westfield" <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <[email protected]> |
On Jun 10, 2013, at 5:23 PM, Thomas Taranowski wrote:
> I really want something to just disable the libstdc++ include.
Energia (Arduino for MSP430) is probably the most common MSP430 C++ application, and it doesn't seem to do anything special, nor include (in it's distribution) ANY C++ libraries
It's msp430-g++ (MSPGCC 20120406 (With patches: sf3540953 sf3559978)) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
and does:
.../hardware/tools/msp430/bin/msp430-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=msp430g2452 -DF_CPU=16000000L -MMD -DARDUINO=101 -DENERGIA=9 -I.../hardware/msp430/cores/msp430 -I.../hardware/msp430/variants/launchpad Blink.cpp -o Blink.cpp.o
:
.../hardware/tools/msp430/bin/msp430-gcc -Os -Wl,-gc-sections,-u,main -mmcu=msp430g2452 -o Blink.cpp.elf Blink.cpp.o core.a -L/var/folders/jz/5yb8f2hr8xjcpf0059bsfz4r0000gn/T/build2826063411927392333.tmp -lm
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev