[Buildroot] [PATCHv2] package: add the poco C++ libraries collection

Peter Korsgaard jacmet at uclibc.org
Tue Sep 27 19:19:01 UTC 2011


>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:

Hi,

 Baruch> Well, it seems that the Poco configure script can do just that
 Baruch> when told to.  The --no-fpenvironment option replaces
 Baruch> FPEnvironment_C99.h with FPEnvironment_DUMMY.h. You can even
 Baruch> pass --no-wstring to disable std::wstring support. So the
 Baruch> question is, is there a way to detect the 'defined(__UCLIBC__)
 Baruch> && !defined (__UCLIBC_HAS_FENV__)' condition at configuration
 Baruch> time? This seems to be much cleaner than patching the code for
 Baruch> build time detection.

Ahh ok, good. As far as I can see, the uClibc fenv support is not really
extensive enough to ever work, so simply detecting uClibc should be
enough. Remember we can use uClibc through
internal/external/crosstool-ng toolchains, so you'll need to do
something like

ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_CTNG_uClibc),y)
POCO_CONF_OPT += --no-fpenvironment
endif

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list