]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Runtime recompilation instructions improvements.
authorDoug Rupp <rupp@adacore.com>
Thu, 19 Oct 2023 22:53:19 +0000 (15:53 -0700)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 21 Nov 2023 09:57:41 +0000 (10:57 +0100)
Revise instructions to work on both cross and native targets hosted
on Linux

gcc/ada/

* libgnat/libada.gpr: Revise section 1

gcc/ada/libgnat/libada.gpr

index 9453cae8f53f1a1958b2407b2bd45b5801cd2221..2848c566ee10cdf5844786fd433d75175510726d 100644 (file)
@@ -6,13 +6,14 @@
 -- 1. Create a new directory (e.g. "rts-debug"), then copy the adainclude
 --    directory from the reference runtime that you want to rebuild.
 --    You can find the relevant adainclude directory by running the command
---    gprls [--target=<target>] [--RTS=<runtime>] and using the adainclude
+--    gprls -v [--target=<target>] [--RTS=<runtime>] and using the adainclude
 --    directory listed. For example:
---     $ cd <reference directory>
---     $ mkdir rts-debug
---     $ cd rts-debug
---     $ cp -a `gprls -v | grep adainclude` .
---     $ cd adainclude
+--    $ cd <reference directory>
+--    $ mkdir rts-debug
+--    $ cd rts-debug
+--    $ cp -a `gprls -v \
+--      [--target=<target>] --RTS=native | grep adainclude` .
+--    $ cd adainclude
 --
 --    or under Windows:
 --