This is a proposal for another way to integrate the Ada Web Server as a crate.
The issue with the current approach is the Makefile-based environment used
by AWS and the fact that we have to completely build and then install AWS
to use it.
In this proposal, only the 'make setup' phase is done to let the AWS Makefile
do the important setup and prepare the required files in target directory.
That target directory is named by AWS by using `gcc -dumpmachine` which brings
other issues and to solve and fix things, that directory is moved to a fixed
directory `build` so that every target will use that fix value.
The installation and build is not made and instead we reference the two
important GNAT projects 'aws.gpr' (top-level) and `build/projects/aws_config.gpr`
which was generated by `make setup`. The build is then handled by Alire
since it knowns the AWS projects. The AWS GNAT projects rely on the following
important variables which are set through the makefiles and we can set
them for each target as follows:
TGT_DIR = "../build"
TARGET = "build"
It is a proposal in the hope it will solve the AWS crate integration issues....
* Ada Binding to the GNU Binutils library
The Ada-BFD library allows to:
* list and scan the ELF sections of an executable or object file,
* get the content of the ELF sections,
* get access to the symbol table,
* use the BFD disassembler
Requires some binutils-dev
* Fix build
Added conflicting packages to [[forbids]] section:
libsimpleio, mcp2221, wioe5_ham1, wioe5_ham2, wioe5_p2p.
Include support for Wio-E5 LoRa Transceiver Module.
Added -gnatwK to compiler flags to suppress a lot of warnings.
Reworked Linux Industrial I/O infrastructure.
Added support for Linux Industrial I/O temperature sensors.
Added support for Hardware Monitoring (hwmon) temperature sensors.
Include (more properly: no longer *exclude*) Wio-E5 LoRA Transceiver
packages.
Forbid packages whose functionality is already included in libsimpleio,
namely: mcp2221, remoteio, wioe5_ham1, wioe5_ham2, wioe5_p2p.