<div dir="ltr">So we managed to compile RTEMS but now if we try to build a simple test application, sparc-rtems4.12-gcc can't find system headers (bsp.h etc...)<div>However, when comparing to rtems4.10 we have already installed and working, we find the file in the same directory :</div><div>/opt/rtems-4.12/src/rtems-4.12/c/src/lib/libbsp/sparc/leon3/include</div><div>/opt/rtems-4.10/src/rtems-4.10/c/src/lib/libbsp/sparc/leon3/include<br></div><div><br></div><div>The rtems 4.10 we use is the one built by Gaisler so maybe we are missing something?</div><div><br></div><div>After this I tried executing the hello.exe that is built in the testsuites/samples folder and it executed just fine on the GR712RC board, so I guess the toolset is correct.</div><div>However if I try to manually build the init.c file I get a missing header error.</div><div><br></div><div><div> /opt/rtems-4.12/bin/sparc-rtems4.12-gcc init.c -o out</div><div>init.c:14:24: fatal error: rtems/test.h: No such file or directory</div><div> #include <rtems/test.h></div><div>                        ^</div><div>compilation terminated.</div></div><div><br></div><div>I don't understand why gcc can't find those system header files?</div><div>Is our install botched or are we missing something?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div><span><div><b><img src="http://www.syderal.ch/images/syd_icons/mini-logo-syd.png"><br></b></div><div><b>Léonard Bise</b></div><div>Software Design Engineer
</div><div>Direct Line +41 (0)32 338 9902</div><div><br></div><div><b>SYDERAL SA</b></div><div>Neuenburgstrasse 7</div><div>CH-3238 Gals (Switzerland)</div><div>Desk Line +41 (0)32 338 9800</div><div>Web Site <a href="http://www.syderal.ch" target="_blank">http://www.syderal.ch</a></div></span></div></div></div>
<br><div class="gmail_quote">2016-05-26 9:53 GMT+02:00 Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26/05/2016 17:41, Leonard Bise wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot Chris, the problem is fixed.<br>
</blockquote>
<br></span>
Excellent.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd like to ask also, would it be possible to have a quick status of the<br>
current state of the SMP functionality for GR712 in RTEMS?<br>
Is it mostly working, or still under active development?<br>
</blockquote>
<br></span>
I am not sure about the specific state of the hardware you are talking about and I am sure Sebastian will chime in when he is able.<br>
<br>
SMP should be working on SPARC architectures. Sebastian is working to remove the giant lock and to improve the performance. As a result there is a great of activity. The end result of his work will be awesome.<br>
<br>
Added to this I am working on improving the user experience with libbsd and making a start at documenting something, the getting started guide is first. This is resulting in some changes like the one that broke your build.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot for your help anyway.<br>
</blockquote>
<br></span>
Pleasure.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris<br>
</font></span></blockquote></div><br></div>