From: Doug Rupp <r...@adacore.com>

Revise instructions to work on both cross and native targets hosted
on Linux

gcc/ada/

        * libgnat/libada.gpr: Revise section 1

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/libgnat/libada.gpr | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gcc/ada/libgnat/libada.gpr b/gcc/ada/libgnat/libada.gpr
index 9453cae8f53..2848c566ee1 100644
--- a/gcc/ada/libgnat/libada.gpr
+++ b/gcc/ada/libgnat/libada.gpr
@@ -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:
 --
-- 
2.42.0

Reply via email to