Messages in this thread | | | Subject | Re: Compiling C++ modules | From | Christer Weinigel <> | Date | 02 May 2006 18:27:13 +0200 |
| |
David Woodhouse <dwmw2@infradead.org> writes:
> On Tue, 2006-05-02 at 14:26 +0300, Avi Kivity wrote: > > There are C++ embedded kernels in http://www.zipworld.com.au/~akpm/ > > and http://ecos.sourceware.org/, but I haven't looked at them, so I > > can't say whether I consider them nice or not. > > eCos is nice enough -- because it's mostly C :)
And those parts that are C++ (from a 2 year old eCos dist) won't compile with a modern g++. I tried to compile RedBoot on a Fedora Core 5 system and it was a very painful experience, old deprecated C++ code was breaking all over the place. It may just have been the the eCos configuration tool (which I belive is written in C++) that failed to compile, but anyway, I had to use an older version of g++ and some flag to make the old broken C++ code generate warnings, not errors.
/Christer
-- "Just how much can I get away with and still go to heaven?"
Freelance consultant specializing in device driver programming for Linux Christer Weinigel <christer@weinigel.se> http://www.weinigel.se - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |