X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=4b564105980129dd18e165b537bdfba3ac12609f;hp=da09cbbe0650946eea5af426474e348eec114bed;hb=7d6371e47006c8aef4ac94f52998a35b03bf89cf;hpb=1dd25cc0259e0683290fe889707b04979b5fda0a diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index da09cbbe..4b564105 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 20161203). + This describes ncurses version 6.1 (patch 20180825). - ADACURSES(1) + ADACURSES(1)