Put uClibc++ header files in a different directory from NuttX header files

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5287 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-01 12:19:20 +00:00
parent 683e54b85f
commit e60d4488b3
53 changed files with 25 additions and 3 deletions
+16 -1
View File
@@ -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++
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Some files were not shown because too many files have changed in this diff Show More