This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
g++ on embedded platforms
- From: arnuld uttre <arnuld dot mizong at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 6 Oct 2009 10:41:46 +0530
- Subject: g++ on embedded platforms
At the company where I work, its decided by higher authority that we
will use C since our software will run on some embedded platforms and
for embedded platforms C++ is not a good idea. Reading Stroustrup's
FAQs tells me the opposite:
http://www.research.att.com/~bs/bs_faq.html
I am implementing a Priority-Queue (PQ) in C but I see C++ already has
a template, a generic PQ implemented in Std. Lib. Hence I am not much
interested in code-duplication, I am not interested in doing a work
which has already been done in a much better than I will ever do. We
are using gcc for our embedded platform, now I don't get it if gcc
works on
embedded platform then why can't we use use g++ ? The embedded
platforms we are working on will mostly be *NIX or much less vxWorks
and very rarely something Windows based.
Has anyone worked on embedded platforms before, may be he can tell if
we can use templates over there and any other information will be
appreciated.
--
http://uttre.wordpress.com/2008/05/14/the-lost-love-of-mine/