Re: Unofficial Red Hat Port

David Brown <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
On 12/09/13 21:27, DJ Delorie wrote:>
>> Is c++ an officially supported aspect of the port?
>
> I'm going to conditionally say "yes" because, while I build and test
> C++, I know there are some language features of C I took advantage of
> to get far (20-bit) addressing, that C++ simply doesn't support.  So
> I'm not sure how well C++ will work "in real programs" in all cases.
>
> Also, there's some overhead in setting up the C++ objects that might
> be an issue on the smallest MSP430 devices.  You can work around it on
> a per-project basis, but it's something to keep in mind when choosing
> a language.
>

For small targets like this, it is common to compile C++ with "-fno-rtti
-fno-exceptions", as these features can have a lot of overhead and need
library support, and are seldom useful on such targets.  For the AVR
port of gcc, C++ works with these flags.  So if you are able to say "C++
works with exceptions and rtti disabled" then that would be fantastic -
the final parts may be nice to get completed, but I don't think they are
a priority to users.

(That's my 2 øre, anyway.)

David


> I also expect there will be plenty of "in real programs" features you
> folks will be asking for that I'll need to add - FSF ports are not
> fixed in stone :-)
>
> If you ask me for FORTAN support, though, I'm more likely to say "no" :-)
> (or at least "you're on your own")
>

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.