diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-04 15:12:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-04 15:12:55 +0000 |
commit | f561a5ab0302e260c2df461cc9c32c9b1535c243 (patch) | |
tree | 91d9f298d4568c87e8a0c3f4211e229dc80f2b13 /misc | |
parent | 0062c0322665d7e117d4c86b0daec806e893e62a (diff) | |
download | px4-firmware-f561a5ab0302e260c2df461cc9c32c9b1535c243.tar.gz px4-firmware-f561a5ab0302e260c2df461cc9c32c9b1535c243.tar.bz2 px4-firmware-f561a5ab0302e260c2df461cc9c32c9b1535c243.zip |
RGMP 4.0 update from Qiang Yu
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5305 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tools/README.txt | 7 | ||||
-rw-r--r-- | misc/uClibc++/libxx/uClibc++/Make.defs | 1 | ||||
-rw-r--r-- | misc/uClibc++/libxx/uClibc++/vterminate.cxx | 22 |
3 files changed, 30 insertions, 0 deletions
diff --git a/misc/tools/README.txt b/misc/tools/README.txt index ebda8b160..4a141cb94 100644 --- a/misc/tools/README.txt +++ b/misc/tools/README.txt @@ -41,6 +41,13 @@ kconfig-frontends-3.3.0-1-libintl.patch make make install + See: http://ymorin.is-a-geek.org/hg/kconfig-frontends/file/tip/docs/known-issues.txt + + Update: According to the release notes, version 3.6.0 (and above) + will build on Cygwin with not patches: + + http://ymorin.is-a-geek.org/download/kconfig-frontends/ + kconfig-macos.path This is a patch to make the kconfig-frontends build on Mac OS X. diff --git a/misc/uClibc++/libxx/uClibc++/Make.defs b/misc/uClibc++/libxx/uClibc++/Make.defs index 335ae8db1..40aee6e47 100644 --- a/misc/uClibc++/libxx/uClibc++/Make.defs +++ b/misc/uClibc++/libxx/uClibc++/Make.defs @@ -52,6 +52,7 @@ endif # libsupc++ replacement +# CXXSRCS += vterminate.C ifneq ($(CONFIG_UCLIBCXX_HAVE_LIBSUPCXX),y) CXXSRCS += eh_alloc.cxx eh_globals.cxx eh_terminate.cxx endif diff --git a/misc/uClibc++/libxx/uClibc++/vterminate.cxx b/misc/uClibc++/libxx/uClibc++/vterminate.cxx new file mode 100644 index 000000000..09d19b19f --- /dev/null +++ b/misc/uClibc++/libxx/uClibc++/vterminate.cxx @@ -0,0 +1,22 @@ +/* Copyright (C) 2012 Gregory Nutt + * + * This file is part of the uClibc++ Library. + * + * A replacement for __gnu_cxx::terminate + */ + +#include <basic_definitions> +#include <cstdlib> +#include <cunistd> +#include <debug.h> + +// This is a brain-dead replacement for __gnu_cxx::__verbose_terminate_handler + +namespace __gnu_cxx +{ + void __verbose_terminate_handler() + { + ldbg("PID %d: Terminating...\n", getpid()); + abort(); + } +} |