Starting with RTEMS

Ralf Corsepius ralf.corsepius at rtems.org
Sun Mar 4 16:56:50 UTC 2012


On 03/04/2012 05:38 PM, Binkowski, Cassio wrote:
> On Sun, Mar 4, 2012 at 12:36 PM, Ralf Corsepius 
> <ralf.corsepius at rtems.org <mailto:ralf.corsepius at rtems.org>> wrote:
>
>     On 03/04/2012 04:14 PM, Binkowski, Cassio wrote:
>
>         On Sun, Mar 4, 2012 at 3:44 AM, Chris Johns <chrisj at rtems.org
>         <mailto:chrisj at rtems.org>
>         <mailto:chrisj at rtems.org <mailto:chrisj at rtems.org>>> wrote:
>
>            On 4/03/12 9:26 AM, Binkowski, Cassio wrote:
>            ]>
>
>                I have done the process all over again but still
>         accusing that
>                there is
>                no g++ and c++.
>
>
>            What is reporting it cannot find g++ and c++ ?
>
>         Ok, the exact lines are the following:
>
>         checking for avr-rtems4.10-g++... no
>         configure: error: no acceptable c++ found in $PATH
>         configure: error:
>         ../../../../../../rtems-4.10. 2/c/src/../../testsuites/ samples/
>         configure failed for samples
>         configure: error: /bin/sh
>         '../../../../../rtems-4.10.2/ c/src/../../testsuites/co
>         nfigure' failed for ../../testsuites
>         make[2]: *** [avrtest] Error 1
>         make[2]: Leaving directory
>         `/c/opt/rtems-4.10/rtems4.10- build/avr-rtems4.10/c'
>         make[1]: *** [all-recursive] Error 1
>         make[1]: Leaving directory
>         `/c/opt/rtems-4.10/rtems4.10- build/avr-rtems4.10/c'
>         make: *** [all-recursive] Error 1
>
>         These the last lines of a large dump generated by the command
>         "make all".
>
>
>     How does your call to configure look like?
>
>
> Just like this:
>
> ../rtems-4.10.2/configure --target=avr-rtems4.10 
> --enable-rtemsbsp=avrtest --enable-cxx --enable-tests=samples
--enable-cxx is the culprit of the abort above.

You are explicitly demanding the configure script to use C++, which 
fails for the avr, because the avr does not support C++.

Omit this option from the configure-call and your configuration should 
finish without problems.

>
> How can I download a pre-built development environment?
Which OS rsp. distro?

> The only virtual machine I could find was a CentOS machine. Which was 
> discontinued by the way.
>
This is a misunderstanding. The RTEMS toolchains for CentOS 4 were 
discontinued, because this distribution's vendor has discontinued it.

CentOS 5 and CentOS 6 are well alive and so are the corresponding RTEMS 
toolchain packages.

c.f. 
ftp://ftp.rtems.org/pub/rtems/linux/<rtems-version>/centos/<centos-version>
e.g.  ftp://ftp.rtems.org/pub/rtems/linux/4.10/centos/6

Ralf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120304/990ab6c6/attachment-0001.html>


More information about the users mailing list