diff --git a/INSTALL.md b/INSTALL.md index 595c2ca..152d3f5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,7 +18,7 @@ During compiler development, the interface between the compiler and the run time | Variable | Default | | ---------|-------- | -| `RELEASE` | gcc11 | +| `RELEASE` | gcc12 | Values for `RELEASE` are as below: @@ -31,6 +31,7 @@ Values for `RELEASE` are as below: | FSF GCC 10 | `gcc8` | | FSF GCC 11 | `gcc11` | | FSF GCC 12 | `gcc12` | +| FSF GCC 13 | `gcc12` | | GNAT GPL 2016 | `gcc6` | | GNAT GPL 2017 | `gnat-gpl-2017` | | GNAT CE 2018 | `gcc8` | @@ -45,21 +46,21 @@ Build by running The runtimes must be installed. To install the runtime(s) with your compiler (you may need to use `sudo`),
-make RELEASE=release install
+make RELEASE=release INSTALL_LOCALLY=no install
 
either at top level for all runtimes, or in the individual runtime's subdirectory. ### Local installation ### -It used to be possible to use a runtime from its build directory (for example, `--RTS=$HOME/cortex-gnat-rts/stm32f4`), but this isn't possible with the new multi-release structure. Instead, the runtimes must be installed locally. +It used to be possible to use a runtime from its build directory (for example, `--RTS=$HOME/cortex-gnat-rts/stm32f4`), but this isn't possible with the new multi-release structure. Instead, the runtimes must be installed; local installation is the default. | Variable | Default | | ---------|-------- | | `INSTALL_LOCALLY` | `yes` |
-make RELEASE=release INSTALL_LOCALLY=yes install
+make RELEASE=release install
 
allowing `--RTS=$HOME/cortex-gnat-rts/local/stm32f4`. @@ -77,18 +78,18 @@ You should always use `gprbuild` and a GNAT Project (GPR) to do cross-builds. Gn ### Target ### You need to specify the target (`arm-eabi`). If you're only going to use the command line, you can specify `--target=arm-eabi` on the command line, or in a GPR using the project-level attribute `Target`: - - for Target use "arm-eabi"; - +``` +for Target use "arm-eabi"; +``` If you're going to use GPS or Emacs ada-mode, use the `Target` attribute. ### Run time system ### To use an RTS installed with the compiler, for example `stm32f4`, you can specify it on the command line, using `--RTS=stm32f4`, or with a recent `gprbuild` in the project file: - - for Runtime ("ada") use "stm32f4"; - +``` +for Runtime ("ada") use "stm32f4"; +``` If using a locally-installed RTS, use a relative or absolute path: - - for Runtime ("ada") - use Project’Project_Dir & "../local/stm32f4"; +``` +for Runtime ("ada") use external ("HOME") & "/cortex-gnat-rts/local/stm32f4"; +``` diff --git a/common/common.gpr b/common/common.gpr index cb43d6d..7abcd43 100644 --- a/common/common.gpr +++ b/common/common.gpr @@ -24,7 +24,7 @@ abstract project Common is -- We need to cope with changes to tasking and tag code between -- compiler releases. - Release : Compiler_Release := external ("RELEASE", "gcc11"); + Release : Compiler_Release := external ("RELEASE", "gcc12"); Release_Path := Release; case Release is when "gcc11" =>