[Buildroot] [PATCH 05/15] toolchain: rework C++ options
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Dec 12 11:24:53 UTC 2010
On Sat, 11 Dec 2010 23:38:38 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:
> Thomas> - We could have two independent options: one to tell
> Thomas> whether the toolchain has C++ support (on which packages
> Thomas> would depend on) and another to tell whether the C++ library
> Thomas> should be installed (that packages would select). This would
> Thomas> allow to have a C++-free target filesystem even if the
> Thomas> toolchain used actually supports C++.
>
> Is that really important? I would expect people who really care about
> such stuff to build a custom toolchain for their project.
No strong opinion on this, so I just deleted this part from the commit
log.
> If there's interest, perhaps it would make more sense to generalize
> this library-cleanup step for all libs and do something like the
> mklibs stuff.
Yeah, would probably be a better idea.
> Here we add an option to build a ctng toolchain (glibc/uclibc)
> with/without C++ support.
>
> .. But here we say that all external glibc toolchains have C++
> support. That doesn't seem to be always true.
Indeed. Generally, most glibc toolchains will probably have C++
support, but that's not necessarly the case. So I move the option
outside the CUSTOM_UCLIBC thing, so that it is visible for any CUSTOM
external toolchain.
> Thomas> +config BR2_TOOLCHAIN_EXTERNAL_C_PLUS_PLUS
> Thomas> + bool "Toolchain has C++ support ?"
>
> No space before '?'
Fixed.
> 'Enable this option if your external toolchain has'
Fixed.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list