Explanation on the Ada build command

avy st astrominger at yahoo.com
Wed Jan 3 20:31:35 UTC 2007


The Wiki page on Ada and RTEMS () specifies the following command in order to build an Ada example:

powerpc-rtems-gnatmake -f -g t -largs -B$INSTALL -specs bsp_specs -qrtems

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:

    powerpc-rtems-gnatmake -f -g t -largs -B/opt/rtems-tools-4.7/powerpc-rtems/psim/lib -specs bsp_specs -qrtems

worked just fine (/opt/rtems-tools-4.7/powerpc-rtems/psim/lib is the directory where bsp_specs, rtems_crti.o, start.o and all the libraries for the bsp are located).

Three questions:
What is the -B switch, and to which tool in the toolhain it applies?
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?
What is the -q switch, and to which tool in the toolhain it applies?

Thanks
Avy Strominger
astrominger at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070103/4039ca8d/attachment.html>


More information about the users mailing list