Menu

InstallRunTimeSystem Log in to Edit

Install the Ada Run Time System and AVR Support Libraries

After building and installing the Ada cross compiler you need a basic run time system (RTS).

After unpacking the AVR-Ada source distribution, run configure and make in the top level directory. Configure determines the installation path (PREFIX) from the installed gcc. See the comments in the Makefile for the different make targets. You should first build and install the RTS, then the AVR libraries. The RTS will be installed in the gcc tree, the AVR libraries will be installed in PREFIX/avr/ada. Make sure that you have write permissions in these locations.

configure
make build_rts
make install_rts
make build_libs
make install_libs

Only a few files from the run time library exist. For the time being it consists only of files that are needed at compile time. See the directory rts/adainclude.
Future versions of AVR-Ada should extend the possibilities of the provided RTS. This might include:

  • Ada exceptions. There is already support for setjmp/longjmp in AVR-libc, but I don't know how useful are exceptions in embedded systems.
  • Simple tasking (like in the Ravenscar profile). This should probably be built on top of a small scheduler like AvrX.

Don't count on anything appearing in the near future!


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.