--enable-cxx results in Makefile.inc with RTEMS_HAS_CPLUSPLUS = no

Giovanni Macciocu G.Macciocu at sron.nl
Mon Jan 13 15:13:22 UTC 2014


Hi All,

I'm building rtems from source, head of 7. Jan 2014

$ ../configure --target=arm-rtems4.11 --enable-rtemsbsp=xilinx_zynq_zedboard --prefix=/opt/rtems-4.11 --enable-cxx
$ make all
$ make install

Now if I look at the generated makefile, I encounter the var. 'RTEMS_HAS_CPLUSPLUS' initialized at 'no'.
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_zedboard/Makefile.inc

RTEMS_USE_OWN_PDIR = no
RTEMS_HAS_POSIX_API = yes
RTEMS_HAS_ITRON_API = no
RTEMS_HAS_CPLUSPLUS = no

This suprises me quite a bit as I explicitly indicate c++ by providing the --enable-cxx flag at ./configure

Am I missing something here?, I wonder if '__cplusplus' is defined when 'RTEMS_HAS_CPLUSPLUS = no'.

Regards,

Giovanni Macciocu, Software Design Engineer
SRON Netherlands Institute for Space Research





More information about the devel mailing list