<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><P>The Wiki page on Ada and RTEMS () specifies the following command in order to build an Ada example:</P>
<P> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P><EM>powerpc-rtems-gnatmake -f -g t -largs -B$INSTALL -specs bsp_specs -qrtems<BR></EM></P></BLOCKQUOTE>
<P>My $INSTALL is /opt/rtems-tools-4.7, and it didn't work for me (complained about not being able to find bsp_specs). However, tryng it with:</P>
<P> </P>
<P><EM> powerpc-rtems-gnatmake -f -g t -largs -B</EM><STRONG>/opt/rtems-tools-4.7/powerpc-rtems/psim/lib</STRONG><EM> -specs bsp_specs -qrtems</EM><BR></P>
<P>worked just fine (<STRONG>/opt/rtems-tools-4.7/powerpc-rtems/psim/lib </STRONG>is the directory where bsp_specs, rtems_crti.o, start.o and all the libraries for the bsp are located).</P>
<P> </P>
<P>Three questions:</P>
<OL>
<LI>What is the -B switch, and to which tool in the toolhain it applies?</LI>
<LI>What is the bsp_specs file, to which tool in the toolhain the -specs switch applies, and where the format of the specs file is documented?</LI>
<LI>What is the -q switch, and to which tool in the toolhain it applies?</LI></OL>
<P> </P>
<P>Thanks</P>
<P>Avy Strominger</P>
<P><A href="mailto:astrominger@yahoo.com">astrominger@yahoo.com</A></P></div></body></html>