rtems++ test stub, how to compile it?

Ralf Corsepius ralf.corsepius at rtems.org
Tue Aug 9 11:33:12 CDT 2011


On 08/09/2011 04:55 PM, Mogens Dybæk Christensen wrote:

> A lot of teststubs in i386-rtems4.10/c/testsuites are built, but not this one.

> $BUILD_DIR/rtems-4.10.0/configure --enable-rtems-debug \
> 	--target=$TARGET --enable-posix \
> 	--prefix=/opt/rtems-4.10 \
> 	--enable-networking --enable-cxx \
> 	--enable-rtemsbsp="pc386" --enable-maintainer-mode \
>        --enable-tests=samples
>
> I have also tried enable-tests=yes. Same result.

Check the output running configure produces and check if you have your 
target's g++ installed. I guess you don't have  the target's g++ 
compiler (i386-rtems4.10-g++) installed (or it's broken).

rtems++ is only being built if building librtems++ is enabled 
(--enable-cxx), --enable-tests (==--enable-tests=yes) is being passed 
and if the target-toolchain's g++ is installed.

> Our build scripts are based upon a step by step description for Ubuntu on the wiki.

Well, Ubuntu ... many further possibilities.

Ralf




More information about the rtems-users mailing list