aboutsummaryrefslogtreecommitdiffstats
path: root/include/uclibc++.mk
Commit message (Collapse)AuthorAgeFilesLines
* uclibc++: removeRosen Penev2021-10-241-16/+2
| | | | | | | | | | | | | | | No package here depends on it. Furthermore, uClibc++ is a fairly buggy C++ library and seems to be relatively inactive upstream. It also lacks proper support for modern C++11 features. The main benefit of it is size: 66.6 KB vs 287.3 KB on mips24kc. Static linking and LTO can help bring the size down of packages that need it. Added warning message to uclibc++.mk Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
* libcxx[abi]: removeRosen Penev2020-12-071-10/+2
| | | | | | | | | | | | This is a neat project, but offers no benefit to OpenWrt. The initial reason for it was to be a replacement for libstdcpp as it is smaller and lacks compatibility for C++98. Unfortunately, compiling several packages with it results in larger ipk sizes. While not a member of the packages feed, this will be moved to packages-abandoned to keep it somewhere. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libcxx: Add packageRosen Penev2019-12-231-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in OpenWrt, there are two libc++: libstdcpp and uClibc++. The former is huge and the latter supports only C++98 with some basic support for C++11. Those C++ versions seem to be specific to the compiler version libcxx supports C++11 and above while being much smaller than libstdcpp. On mt7621, these are the sizes of the ipks that I get: libstdcpp: 460786 libcxx: 182881 uClibc++:67720 libcxx is faster than uClibc++ and is under active development as part of the LLVM project while uClibc++ is effectively dead. This PR modifies uclibc++.mk to expose the make menuconfig option. Further cleanup is beyond the scope of this PR. What that means is, this is not used by default. A g++-libcxx wrapper based on the uClibc++ one was added. Works the same way. Compile tested with all packages that use uclibc++.mk in their Makefiles under mipsel_24kc. kismet fails compilation but that package needs to be cleaned up and updated. Runtime tested with gddrescue, gdisk, dcwapd, bonnie++, and aircrack-ng on a TP-Link Archer C7v2. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ ↵Felix Fietkau2013-05-091-1/+1
| | | | | | | | support mandatory - fixes recursive config symbol dependency issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36594
* make CXX_DEPENDS also depend on INSTALL_LIBSTDCPPFlorian Fainelli2012-10-241-1/+1
| | | | SVN-Revision: 33908
* fix ccache related build breakageJohn Crispin2012-06-181-2/+2
| | | | SVN-Revision: 32421
* uclibc++.mk: override the cc binary instead of the wrapper command when ↵Jo-Philipp Wich2012-06-151-0/+4
| | | | | | ccache is used SVN-Revision: 32383
* build: add a config option for choosing the prefered standard c++ library ↵Felix Fietkau2012-06-141-0/+12
and add uclibc++.mk to make this easy to handle in packages SVN-Revision: 32369