<div class="gmail_quote">On Sun, Mar 4, 2012 at 1:56 PM, Ralf Corsepius <span dir="ltr"><<a href="mailto:ralf.corsepius@rtems.org">ralf.corsepius@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
On 03/04/2012 05:38 PM, Binkowski, Cassio wrote:
<blockquote type="cite">
<div>On Sun, Mar 4, 2012 at 12:36 PM, Ralf Corsepius <span><<a href="mailto:ralf.corsepius@rtems.org" target="_blank">ralf.corsepius@rtems.org</a>></span>
wrote:<br>
<blockquote>
<div>On 03/04/2012 04:14 PM, Binkowski, Cassio wrote:<br>
</div>
<blockquote>
<div>
On Sun, Mar 4, 2012 at 3:44 AM, Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a><br>
</div>
<div>
<mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>>
wrote:<br>
<br>
On 4/03/12 9:26 AM, Binkowski, Cassio wrote:<br>
]><br>
<br>
I have done the process all over again but still
accusing that<br>
there is<br>
no g++ and c++.<br>
<br>
<br>
What is reporting it cannot find g++ and c++ ?<br>
<br>
Ok, the exact lines are the following:<br>
<br>
checking for avr-rtems4.10-g++... no<br>
configure: error: no acceptable c++ found in $PATH<br>
configure: error:<br>
../../../../../../rtems-4.10. 2/c/src/../../testsuites/
samples/<br>
configure failed for samples<br>
configure: error: /bin/sh<br>
'../../../../../rtems-4.10.2/ c/src/../../testsuites/co<br>
nfigure' failed for ../../testsuites<br>
make[2]: *** [avrtest] Error 1<br>
make[2]: Leaving directory<br>
`/c/opt/rtems-4.10/rtems4.10- build/avr-rtems4.10/c'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory<br>
`/c/opt/rtems-4.10/rtems4.10- build/avr-rtems4.10/c'<br>
make: *** [all-recursive] Error 1<br>
<br>
These the last lines of a large dump generated by the
command "make all".<br>
</div>
</blockquote>
<br>
How does your call to configure look like?</blockquote>
<div><br>
</div>
<div>Just like this:</div>
<div><br>
</div>
<div>../rtems-4.10.2/configure --target=avr-rtems4.10
--enable-rtemsbsp=avrtest --enable-cxx --enable-tests=samples</div>
</div>
</blockquote></div></div>
--enable-cxx is the culprit of the abort above.<br>
<br>
You are explicitly demanding the configure script to use C++, which
fails for the avr, because the avr does not support C++.<br>
<br>
Omit this option from the configure-call and your configuration
should finish without problems.</div></blockquote><div><br></div><div>Yes. It finished without warning or errors. Thanks.</div><div><br></div><div>Now, building the sample application. I have done what says in the link:</div>
<div><a href="http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/html/started/started00063.html">http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/html/started/started00063.html</a>
</div><div><br></div><div>But is not working. It is accusing that there is no makefile or leaf.cfg file in the specified directory.</div><div>Do I have to set any variable other then RTEMS_MAKEFILE_PATH?</div><div>What about in which directory to put the sample source folder, let's say, <i>hello_world_c</i> folder?</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div class="im"><br>
<br>
<blockquote type="cite">
<div><br>
<div>How can I download a pre-built development environment?</div>
</div>
</blockquote></div>
Which OS rsp. distro?<div class="im"><br>
<br>
<blockquote type="cite">
<div>
<div> The only virtual machine I could find was a CentOS
machine. Which was discontinued by the way.</div>
<br>
</div>
</blockquote></div>
This is a misunderstanding. The RTEMS toolchains for CentOS 4 were
discontinued, because this distribution's vendor has discontinued
it.<br>
<br>
CentOS 5 and CentOS 6 are well alive and so are the corresponding
RTEMS toolchain packages.<br></div></blockquote><div><br></div><div>Alright. I'm going to download the latest VM available. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
c.f.
<a href="ftp://ftp.rtems.org/pub/rtems/linux/" target="_blank">ftp://ftp.rtems.org/pub/rtems/linux/</a><rtems-version>/centos/<centos-version><br>
e.g. <a href="ftp://ftp.rtems.org/pub/rtems/linux/4.10/centos/6" target="_blank">ftp://ftp.rtems.org/pub/rtems/linux/4.10/centos/6</a><span class="HOEnZb"><font color="#888888"><br>
<br>
Ralf</font></span></div></blockquote><div><br></div><div>Thanks, Cassio .</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<span class="HOEnZb"> </span></div></blockquote></div><br>