mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
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:
@@ -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
Reference in New Issue
Block a user