[En-Nut-Discussion] C++ support on Nut/OS ?

Bernd Walter enut at cicely.de
Tue Mar 23 10:55:49 CET 2010


On Tue, Mar 23, 2010 at 01:48:08AM -0700, Lost Jedi wrote:
> My apologies if the earlier post was vague.
> 
> Let me be more specific :
> What is the process of adding a library to the Nut/OS framework? For example, something like the libxml++ library (http://libxmlplusplus.sourceforge.net)?

It should be possible if you have a beafy system with large memory,
but on such systems you can also run any kind of UNIX.
C++ itself isn't a problem, but STL is already a very big thing
and libxml++ uses it a lot.

If you just want to parse some XML you can also use pro/uxml.h.
It has a very small footprint.

> Thanks again in advance!
> 
> --- On Tue, 3/16/10, Lost Jedi <lostjedi32 at yahoo.com> wrote:
> 
> From: Lost Jedi <lostjedi32 at yahoo.com>
> Subject: [En-Nut-Discussion] C++ support on Nut/OS ?
> To: en-nut-discussion at egnite.de
> Date: Tuesday, March 16, 2010, 1:31 PM
> 
> Hi all.
> 
> I noticed that the FAQ/Wiki mentions fairly limited support for C++ (since Nut/OS is focused on running C code). The example cppdemo included runs fine, but its fairly basic.
> But how really limited is C++ support on Nut/OS ?
> 
> How would one go about adding support for the standard C++ library?
> 
> Anyone with any experience running full-fledged C++ apps on an AT91SAM7X?
> 
> (P.s: Aware of the code/memory overheads with C++)
> 
> Thanks in advance!
> 
> 
> 
>       
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> 
> 
> 
>       
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



More information about the En-Nut-Discussion mailing list