X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=fd9596a63027fa8879faf9017932a7c80d775178;hb=16fbf3f4f7d96b6ee6bf9159b22f26e05962aa3d;hp=f4433a902a78231c536a85c1d7df74b6c0c19827;hpb=58552e8c761a70f8f0bd591fecdf576fa8216e3e;p=ncurses.git diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index f4433a90..fd9596a6 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -1,6 +1,7 @@ -
- +-ADACURSES(1) User Commands ADACURSES(1) +ADACURSES(1) User Commands ADACURSES(1) @@ -54,35 +55,30 @@
- This is a shell script which simplifies configuring an - application to use the AdaCurses library binding to - ncurses. + This is a shell script which simplifies configuring an application to + use the AdaCurses library binding to ncurses.
--cflags - echos the gnat (Ada compiler) flags needed to com- - pile with AdaCurses. - - --libs echos the gnat libraries needed to link with + echos the gnat (Ada compiler) flags needed to compile with AdaCurses. + --libs echos the gnat libraries needed to link with AdaCurses. + --version - echos the release+patchdate version of the ncurses - libraries used to configure and build AdaCurses. + echos the release+patchdate version of the ncurses libraries + used to configure and build AdaCurses. - --help prints a list of the adacurses6-config script's - options. + --help prints a list of the adacurses6-config script's options. - If no options are given, adacurses6-config prints the com- - bination of --cflags and --libs that gnatmake expects (see - example). + If no options are given, adacurses6-config prints the combination of + --cflags and --libs that gnatmake expects (see example).
- For example, supposing that you want to compile the "Hello - World!" program for AdaCurses. Make a file named - "hello.adb": + For example, supposing that you want to compile the "Hello World!" + program for AdaCurses. Make a file named "hello.adb": with Terminal_Interface.Curses; use Terminal_Interface.Curses; procedure Hello is @@ -111,7 +107,6 @@ end case; Nap_Milli_Seconds (50); - end loop; End_Windows; @@ -119,8 +114,8 @@ end Hello; Then, using - gnatmake `adacurses-config --cflags` hello -largs - `adacurses-config --libs` + gnatmake `adacurses-config --cflags` hello -largs `adacurses- + config --libs` or (simpler): gnatmake hello `adacurses-config` @@ -131,11 +126,11 @@
curses(3x) - This describes ncurses version 6.0 (patch 20170107). + This describes ncurses version 6.3 (patch 20220212). - ADACURSES(1) + ADACURSES(1)