Add C++ HelloWorld example

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1706 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-04-19 13:05:39 +00:00
parent ad69d90fa6
commit f51ecc4741
5 changed files with 44 additions and 9 deletions
+16 -1
View File
@@ -21,7 +21,7 @@ examples/dhcpd
cd examples/dhcpd
make -f Makefile.host
Kernel configuratin settings:
NuttX configuration settings:
CONFIG_EXAMPLE_DHCPD_NOMAC - (May be defined to use software assigned MAC)
CONFIG_EXAMPLE_DHCPD_IPADDR - Target IP address
@@ -39,6 +39,21 @@ examples/hello
than examples/null with a single printf statement. Again useful only
for bringing up new NuttX architectures.
NuttX configuration settings:
CONFIG_EXAMPLE_HELLOXX_NOSTATICCONST - Set if system does not support
static constructors.
CONFIG_EXAMPLE_HELLOXX_NOSTACKCONST - Set if the systgem does not
support constructionof objects on the stack.
examples/helloxx
^^^^^^^^^^^^^^^^
This is C++ version of the "Hello, World!!" example. It is intended
only to verify that the C++ compiler is function, that basic C++
library suupport is available, and that class are instantiated
correctly.
examples/mount
^^^^^^^^^^^^^^