[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Explanation on the Ada build command
- Date: Wed, 3 Jan 2007 12:31:35 -0800 (PST)
- From: astrominger at yahoo.com (avy st)
- Subject: Explanation on the Ada build command
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://rtems.rtems.org/pipermail/rtems-users/attachments/20070103/4039ca8d/attachment.html