> Le 10 août 2024 à 21:30, John McCabe <j...@mccabe.org.uk> a écrit :
> 
> Here you go - HTH:
> 
> ===================
> 
> JMcCabe@ MINGW64 /d/McCabe/Ada/Projects/VsCodeExample/gnoga
> $ gprbuild --version
> GPRBUILD 2024.0.0 (20240107) (x86_64-w64-mingw32)
> Copyright (C) 2004-2024, AdaCore
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
> PARTICULAR PURPOSE.

I forgot to ask your compiler version, here is mine:
% gnat --version
GNAT 14.1.0

> JMcCabe@ MINGW64 /d/McCabe/Ada/Projects/VsCodeExample/gnoga
> $ make --version
> GNU Make 4.4.1
> Built for x86_64-pc-msys
> Copyright (C) 1988-2023 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> JMcCabe@ MINGW64 /d/McCabe/Ada/Projects/VsCodeExample/gnoga
> $ git checkout V2.1a
> Updating files: 100% (4026/4026), done.
> Note: switching to 'V2.1a'.

Fine.

> JMcCabe@ MINGW64 /d/McCabe/Ada/Projects/VsCodeExample/gnoga
> $ make
> -----------------------------------------------------------------------------
> -- --
> -- Usage: make <entry> --
> -- --
> -- <entry> ::= help        -- print this message                           --
> --         | all           -- build gnoga with demos and all dependencies  --
> --         | install       -- install gnoga                                --
> --         | uninstall     -- uninstall gnoga                              --
> --         | demo          -- build all demos                              --
> --         | tutorials     -- build all tutorials                          --
> --         | gnoga_tools   -- build all tools                              --
> --         | tests         -- build all tests                              --
> --         | clean         -- clean build files                            --
> --         | clean_all     -- clean build files and deps                   --
> --         | rm-docs       -- build reference manual                       --
> --         | html-docs     -- build html docs                              --
> --         | studio        -- launch GNAT Studio with gnoga environnement  --
> --         | check_rules   -- check gnoga with AdaControl                  --
> --         | gnoga-config  -- create script with gnoga compilation options --
> -- --
> -- Configurable variables:                                                 --
> -- --
> --         PREFIX           = 
> /d/McCabe/Ada/Projects/VsCodeExample/gnoga/inst_folder
> --         GPRCHECK         = GPRBUILD 2024.0.0 (20240107) 
> (x86_64-w64-mingw32) Copyright (C) 2004-2024, AdaCore This is free software; 
> see the source for copying conditions. There is NO warranty; not even for 
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> --         TARGET           = x86_64-w64-mingw32
> --         BUILDER          = gprbuild -p
> --         PRJ_TARGET       = Windows
> --         BUILD_OS         = UnixLike
> --         BUILD_MODE       = Debug
> -- --
> -----------------------------------------------------------------------------

Thanks.

> JMcCabe@ MINGW64 /d/McCabe/Ada/Projects/VsCodeExample/gnoga
> $ make all
> gprbuild -p -P deps/simple_components/lib_components.gpr -Xarch=x86_64 
> -XSC_OS=Windows -XDevelopment=Debug
> Setup
>    [mkdir]        object directory for project Lib_Components
>    [mkdir]        library directory for project Lib_Components
> Compile
>    [Ada]          parsers-multiline_source-xpm.ads
<...>
> Build Libraries
>    [gprlib]       components.lexch
>    [archive]      libcomponents.a
>    [index]        libcomponents.a

Fine.

> gprbuild -p -P deps/uxstrings/lib_uxstrings.gpr
> Setup
>    [mkdir]        object directory for project Lib_UXStrings
>    [mkdir]        library directory for project Lib_UXStrings
> Compile
>    [Ada]          stuten.adb
<...>
> Build Libraries
>    [gprlib]       uxstrings.lexch
>    [archive]      libuxstrings.a
>    [index]        libuxstrings.a

Fine.

> cd deps/zanyblue/src && "make" BUILD=Debug OS=Windows_NT APPDIRS="zbmcompile 
> zbinfo"
> make[1]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/deps/zanyblue/src'
> gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Debug -aP../src -P 
> zanyblue.gpr
> Setup
>    [mkdir]        object directory for project ZanyBlue
>    [mkdir]        library directory for project ZanyBlue
>    [mkdir]        library ALI directory for project ZanyBlue
> Compile
>    [Ada]          zanyblue-utils.adb
<...>
>    [Ada]          zanyblue-os.adb
> zanyblue-os.adb:41:06: error: file "zanyblue-wide_directories.ads" not found
> zanyblue-os.adb:60:07: (style) space required [-gnatyt]
> zanyblue-os.adb:684:07: (style) space required [-gnatyt]
> gprbuild: *** compilation phase failed
> make[1]: *** [Makefile:69: library] Error 4
> make[1]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/deps/zanyblue/src'
> make: [Makefile:155: zanyblue] Error 2 (ignored)

Well, I fixed this error in 2.2 but not back fixed in 2.1.
That's done now, checkout the dev_2.1 branch:
https://sourceforge.net/p/gnoga/code/ci/dev_2.1/tree/

> gprbuild -p -P deps/PragmARC/lib_pragmarc.gpr
> Setup
>    [mkdir]        object directory for project Lib_PragmARC
>    [mkdir]        library directory for project Lib_PragmARC
> Compile
>    [Ada]          pragmarc.ads
<..>
> Build Libraries
>    [gprlib]       pragmarc.lexch
>    [archive]      libpragmarc.a
>    [index]        libpragmarc.a

Fine.

> make -C components
> make[1]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components'
> make -C basic install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/basic'
> mkdir -p ../../css
> mkdir -p ../../html
> mkdir -p ../../img
> mkdir -p ../../js
> mkdir -p ../../upload
> cp -p css/README ../../css
> cp -p html/README ../../html
> cp -p html/*.* ../../html
> cp -p img/README ../../img
> cp -p img/*.* ../../img
> cp -p js/README ../../js
> cp -p js/*.* ../../js
> cp -p upload/README ../../upload
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/basic'
> make -C electron install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/electron'
> cp -p html/*.* ../../html
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/electron'
> make -C bootstrap install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/bootstrap'
> cp -p css/*.* ../../css
> cp -p html/*.* ../../html
> mkdir ../../html/fonts
> cp -p html/fonts/*.* ../../html/fonts
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/bootstrap'
> make -C jqueryui install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/jqueryui'
> cp -p css/*.* ../../css
> cp -p html/*.* ../../html
> mkdir ../../css/images
> cp -p css/images/*.* ../../css/images
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/jqueryui'
> make -C message_boxes install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/message_boxes'
> make[2]: Nothing to be done for 'install'.
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/message_boxes'
> make -C ace_editor install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/ace_editor'
> cp -p html/*.* ../../html
> cp -rp js/ace-builds ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/ace_editor'
> make -C pixi install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/pixi'
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/pixi'
> make -C mnmenu install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/mnmenu'
> cp -p css/*.* ../../css
> cp -p html/*.* ../../html
> cp -p img/*.* ../../img
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/mnmenu'
> make -C jstree install
> make[2]: Entering directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/jstree'
> cp -rp css/jstree_themes ../../css
> cp -p html/*.* ../../html
> cp -p js/*.* ../../js
> make[2]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components/jstree'
> make[1]: Leaving directory 
> '/d/McCabe/Ada/Projects/VsCodeExample/gnoga/components'
> gprbuild -p -P src/gnoga.gpr -XPRJ_BUILD=Debug -XPRJ_TARGET=Windows 
> -Xarch=x86_64 -XSC_OS=Windows -XDevelopment=Debug
> Setup
>    [mkdir]        object directory for project Gnoga
>    [mkdir]        library directory for project Gnoga
> Compile
>    [Ada]          gnoga-gui-plugin-message_boxes.adb
<...>
> Build Libraries
>    [gprlib]       gnoga.lexch
>    [archive]      libgnoga.a
>    [index]        libgnoga.a

Fine.

> gprbuild -p -P tools/tools_agg.gpr -XPRJ_BUILD=Debug -XPRJ_TARGET=Windows 
> -Xarch=x86_64 -XSC_OS=Windows -XDevelopment=Debug
> Setup
>    [mkdir]        exec directory for project Tools
> Compile
>    [Ada]          gnoga_make-main.adb
>    [Ada]          gnoga_doc-main.adb
>    [Ada]          gnoga_make.adb
> gnoga_make.adb:269:17: warning: procedure "Create_Tree" is not referenced 
> [-gnatwu]
> gnoga_make.adb:340:07: warning: "Data" modified by call, but value might not 
> be referenced [-gnatw.o]
> gnoga_make.ads:36:12: warning: redefinition of entity "String" in Standard 
> [-gnatw.k]
>    [Ada]          gnoga_doc.adb
>    [Ada]          gnoga_doc-token.adb
> gnoga_doc-token.adb:118:07: warning: use clause for package "Constants" has 
> no effect [-gnatwu]
> gnoga_doc-token.adb:138:07: warning: use clause for package "Characters" has 
> no effect [-gnatwu]
> gnoga_doc-token.adb:171:07: warning: use clause for package "Characters" has 
> no effect [-gnatwu]
> Bind
>    [gprbind]      gnoga_make-main.bexch
>    [Ada]          gnoga_make-main.ali
>    [gprbind]      gnoga_doc-main.bexch
>    [Ada]          gnoga_doc-main.ali
> Link
>    [link]         gnoga_make-main.adb
>    [link]         gnoga_doc-main.adb
> gprbuild -p -P demo/demo_agg.gpr snake-main -XPRJ_BUILD=Debug 
> -XPRJ_TARGET=Windows -Xarch=x86_64 -XSC_OS=Windows -XDevelopment=Debug
> Compile
>    [Ada]          snake-main.adb
> snake-main.adb:1:06: warning: unnecessary with of ancestor [-gnatwr]
> snake-main.adb:4:11: warning: unit "Snake.Connection" is not referenced 
> [-gnatwu]
>    [Ada]          snake.ads
>    [Ada]          snake-connection.adb
> snake-connection.adb:39:07: warning: "Display" modified by call, but value 
> might not be referenced [-gnatw.o]
> Build Libraries
>    [gprlib]       zanyblue.lexch
> gprlib.exe: Cannot find: 
> D:\McCabe\Ada\Projects\VsCodeExample\gnoga\deps\zanyblue\src\obj\zanyblue-command_line.ali
>    [gprlib]       zanyblue.lexch
> gprbuild: could not build library for project zanyblue
> make: *** [Makefile:241: snake] Error 4

Due to error in Zanyblue.
Should be ok with upper fix.

HTH, Pascal.



_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to