X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=d65c0490040d1a3ee73c81b188cf48ff47f28c2d;hb=073e4446d2def7ebf1f0ff4f124f0c8d4af0b788;hp=e6ac7168ac69202c703a136d29d55922d98dae2e;hpb=62ca6190a9a8ddccb2c4d5ca7b2ef9f88432da65;p=ncurses.git diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index e6ac7168..d65c0490 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -32,7 +32,7 @@
- +-ADACURSES(1) User Commands ADACURSES(1) +ADACURSES(1) User Commands ADACURSES(1) @@ -54,35 +54,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 +106,6 @@ end case; Nap_Milli_Seconds (50); - end loop; End_Windows; @@ -119,8 +113,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 +125,11 @@
curses(3x) - This describes ncurses version 6.0 (patch 20161224). + This describes ncurses version 6.1 (patch 20180203). - ADACURSES(1) + ADACURSES(1)