<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EstiloDeEmail19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EstiloDeEmail20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT-BR link=blue vlink=purple><div class=WordSection1><p><span lang=EN-US>Hi Mr. Silva, long time no see!<o:p></o:p></span></p><p><span lang=EN-US>Sorry for the delay on answering, just this weekend I could resume this task (don't let my wife know!!).<o:p></o:p></span></p><p><span lang=EN-US>Thanks for the link. As I suspected, I was missing something very very basic: I didn't build the BSP. Let me explain why, maybe it can help improving the documentation a little.<o:p></o:p></span></p><p><span lang=EN-US>I was misled by the item 7.2.1 of the on-line user manual which, at the end of the page, states that "you can now build a 3rd party library or an application". This, and the fact that the next page of the manual deals with a different way to build RTEMS (from git), made me assume the installation was finished and that the RSB included the configure script to build all BSP's of the selected architecture.<o:p></o:p></span></p><p><span lang=EN-US>It's clearly my fault, but it would help if the item 7.2.1 continued with bootstrap and the configure script before changing the topic.<o:p></o:p></span></p><p><span lang=EN-US>Now everything is ok and I can start updating my old 4.10 project to 4.11.2. Let's see what's new on RTEMS!<o:p></o:p></span></p><p><span lang=EN-US>Thanks again and best regards,<o:p></o:p></span></p><p>Fabrício.<span style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b>De:</b> Wendell Silva [mailto:silvawp@gmail.com] <br><b>Enviada em:</b> quarta-feira, 31 de janeiro de 2018 15:19<br><b>Para:</b> Fabrício de Novaes Kucinskis <fabricio.kucinskis@inpe.br><br><b>Cc:</b> RTEMS Users <rtems-users@rtems.org><br><b>Assunto:</b> Re: Problems with RTEMS installation - coming from 4.10<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On your question #2, I've successfully executed the procedure documented<a href="https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start"> here</a>.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best Regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>--Wendell <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Jan 31, 2018 at 3:00 PM Wendell Silva <<a href="mailto:silvawp@gmail.com">silvawp@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Hi Mr. Kucinskis,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Please, try this:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>gcc  -mcpu=cypress -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -I${prefix}/sparc-rtems4.11/sis/lib/include -B${prefix}/sparc-rtems4.11/sis/lib -specs bsp_specs -qrtems -lrtemsbsp -lrtemscpu test.c -o test.exe<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can also use Makefile.{leaf|dir|lib} at RTEMS source code/make/Templates as "inspiration".<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hope it helps you.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>--Wendell.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Jan 31, 2018 at 2:41 PM Fabrício de Novaes Kucinskis <<a href="mailto:fabricio.kucinskis@inpe.br" target="_blank">fabricio.kucinskis@inpe.br</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>Hello everyone, it's been a while since my last message to the list.<br><br>I'm setting up a new development environment to start updating a project from RTEMS 4.10 to 4.11.2. It's based on Fedora 27.<br><br>The installation process through source-builder is very different from the one I was used to (based on tools in RPM and the 'configure' script), but it's pretty easy. Congrats for the improvement!<br><br>I followed the instructions on <a href="https://docs.rtems.org/branches/master/user/installation/releases.html" target="_blank">https://docs.rtems.org/branches/master/user/installation/releases.html</a>, just changing the prefix ('/comav/rtems/build' instead of '/opt/rtems/4.11').<br><br>After installing the usual missing dependencies found during the build, it finished with success and everything seemed to be ok. Then I've downloaded the 'examples' package and tried to compile hello_world_c with the simplest command possible:<br><br>            sparc-rtems4.11-gcc test.c -o test.exe<br><br>Just to get the following error:<br><br>            "test.c:5:19: fatal error: rtems.h: No such file or directory"<br><br>Then I realized I had not set $RTEMS_MAKEFILE_PATH. I did it, pointing to "{prefix}/sparc-rtems4.11/sis", with no effect. So I noticed there's no reference to such environment variable on the current documentation. Question nr. 1: is it still needed?<br><br>Afterwards, I tried to compile, this time manually stating the include path with "-I{prefix}/lib/include". This way the compiler finds rtems.h, but I get a lot of errors, starting with ld complaining it haven't found "_start" and other basic BSP symbols.<br><br>Probably I'm missing something basic, but for now I can't find out. Question nr. 2: Am I doing something wrong, or missing some installation step?<br><br>Thanks in advance and best regards,<br><br>Fabrício Kucinskis.<br><br><br><br><br><br>_______________________________________________<br>users mailing list<br><a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br><a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>-- <o:p></o:p></p><div><p>--Wendell<o:p></o:p></p></div></blockquote></div><p class=MsoNormal>-- <o:p></o:p></p><div><p>--Wendell<o:p></o:p></p></div></div></body></html>