Starting with RTEMS

Binkowski, Cassio cassioiks at gmail.com
Sun Mar 4 18:21:44 UTC 2012


On Sun, Mar 4, 2012 at 1:56 PM, Ralf Corsepius <ralf.corsepius at rtems.org>wrote:

>  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>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>> 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.
>

Yes. It finished without warning or errors. Thanks.

Now, building the sample application. I have done what says in the link:
http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/html/started/started00063.html

But is not working. It is accusing that there is no makefile or leaf.cfg
file in the specified directory.
Do I have to set any variable other then RTEMS_MAKEFILE_PATH?
What about in which directory to put the sample source folder, let's say, *
hello_world_c* folder?



>
>
>
> 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.
>

Alright. I'm going to download the latest VM available.

>
> 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
>

Thanks, Cassio .

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


More information about the users mailing list