diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 12:19:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 12:19:20 +0000 |
commit | d1bcab320dc8d1431ff6a15ba47e78b6b67ee869 (patch) | |
tree | 48fa36855a379846bce98116241cfee82332cc91 /misc/uClibc++/README.txt | |
parent | c5421d7241427c98a0cdb81eb3f5ca90d8075561 (diff) | |
download | nuttx-d1bcab320dc8d1431ff6a15ba47e78b6b67ee869.tar.gz nuttx-d1bcab320dc8d1431ff6a15ba47e78b6b67ee869.tar.bz2 nuttx-d1bcab320dc8d1431ff6a15ba47e78b6b67ee869.zip |
Put uClibc++ header files in a different directory from NuttX header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5287 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/uClibc++/README.txt')
-rwxr-xr-x | misc/uClibc++/README.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/misc/uClibc++/README.txt b/misc/uClibc++/README.txt index d11efa650..83b4c13f9 100755 --- a/misc/uClibc++/README.txt +++ b/misc/uClibc++/README.txt @@ -28,7 +28,22 @@ using this command executed from the misc/uClibc++ directory: If you run the install.sh like this, then it will (1) make sure you
understand that you have tainted the NuttX BSD license with LGPLv3, and (2)
copy the uClibc++ sources files into nuttx/libxx/uClibc++, include/, and
-include/cxx.
+include/uClibc++.
+
+Make.defs File Changes
+^^^^^^^^^^^^^^^^^^^^^^
+
+The new files that appear in nuttx/include/uClibc++ must be include-able
+as system header files. So you will need to add 'isystem $(TOPDIR)/include/uClibc++'
+to the ARCHINCLUDESXX definition in the NuttX Make.defs file, perhap like:
+
+ -ARCHINCLUDESXX = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx
+ +ARCHINCLUDESXX = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx -isystem $(TOPDIR)/include/uClibc++
+
+And, of course, you no long need to suppress exceptions or run-time typing:
+
+ -ARCHCPUFLAGSXX = -fno-builtin -fno-exceptions -fno-rtti
+ +ARCHCPUFLAGSXX = -fno-builtin
Building NuttX with uClibc++
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|