X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=ec53fe18afbfe826f7f92823c6c6e5e5e3ef45da;hp=a05c612727ea8c7538b219eb165d5cc3a255118f;hb=d97989d1e0db7282c723cabb44b991b951790006;hpb=dc690a36a0e53e2c2ecd99c971cd749f78275fdc diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index a05c6127..ec53fe18 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -1,6 +1,6 @@
- +-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 20170121). + This describes ncurses version 6.1 (patch 20191130). - ADACURSES(1) + ADACURSES(1)