X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=cd27809f03d37844143676847d729e8dc6e3905f;hb=265e45e43e9917e8b9ecc2bf9d23867a3ede2ecd;hp=e90e0f90668bd049237f6521f9d60fa1e8404b91;hpb=048a1c1a65c6d98d92fca97f8d175d10d21091d0;p=ncurses.git diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index e90e0f90..cd27809f 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 20170204). + This describes ncurses version 6.2 (patch 20210522). - ADACURSES(1) + ADACURSES(1)