Hello Jeremiah,
Here is the answer from Zanyblue:
"The Windows build of ZB is pretty much a Native build, not under a Unix style
env as supplied by mingw64. Build in a cmd window is pretty much how I verify
the build. It would be possible to detect mingw64 in the build process, will
investigate however I do expect the a native Windows env., e.g., "\" instead of
"/"."
Zanyblue catch the OS environment variable:
OS=Windows_NT
Here are some build results under cmd window:
make -C ../src/root
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/root'
gnatprep -DV_MAJOR=1 -DV_MINOR=3 -DV_PATCH=0 -DV_STATUS=Beta -DVERSION=1.3.0
-DSVN_VERSION='"3059X"' -DCOPYRIGHT_YEAR=2016 zanyblue.adb-in zanyblue.adb
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/root'
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../lib/gnat -aP../src -P zblib.gpr
Compile
[Ada] zanyblue-utils.adb
...
[Ada] zanyblue.adb
Build Libraries
[gprlib] zanyblue.lexch
[archive] libzanyblue.a
[index] libzanyblue.a
make -C zbmcompile
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbmcompile'
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P
zbmcompile
Compile
[Ada] zbmcompile-main.adb
...
[Ada] zbmcompile-parser_handler.adb
Bind
[gprbind] zbmcompile-main.bexch
[Ada] zbmcompile-main.ali
Link
[link] zbmcompile-main.adb
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbmcompile'
make -C zbinfo
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbinfo'
../../bin/zbmcompile -i -p -v -O -A -C -G exceptions -G prints -o mesg -d mesg
-S mesg/zbinfo-messages.stamp ZBInfo_Messages ZBInfo
...
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P zbinfo
Compile
[Ada] zbinfo-main.adb
...
[Ada] zbinfo_messages-zbinfo_prints.adb
Bind
[gprbind] zbinfo-main.bexch
[Ada] zbinfo-main.ali
Link
[link] zbinfo-main.adb
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbinfo'
make -C zbtest
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbtest'
../../bin/zbmcompile -i -A -C -p -v -O -G exceptions -G prints -o mesg -d mesg
-S mesg/zbtest-messages.stamp ZBTest_Messages ZBTest
...
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P zbtest
Compile
[Ada] zbtest-main.adb
...
[Ada] zbtest-commands-file_type_arguments.ads
Bind
[gprbind] zbtest-main.bexch
[Ada] zbtest-main.ali
Link
[link] zbtest-main.adb
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbtest'
cmd.exe /c "mkdir ..\build\include\zanyblue"
cmd.exe /c "copy ..\include\zanyblue\zanyblue-os-ld_run_path.ads
..\build\include\zanyblue\zanyblue-os-ld_run_path.ads"
1 fichier(s) copi(s).
...
cmd.exe /c "copy ..\include\zanyblue\zanyblue.ads
..\build\include\zanyblue\zanyblue.ads"
1 fichier(s) copi(s).
cmd.exe /c "mkdir ..\build\lib\zanyblue"
cmd.exe /c "copy ..\lib\zanyblue\zanyblue-os-ld_run_path.ali
..\build\lib\zanyblue\zanyblue-os-ld_run_path.ali"
1 fichier(s) copi(s).
...
cmd.exe /c "copy ..\lib\zanyblue\zanyblue.ali
..\build\lib\zanyblue\zanyblue.ali"
1 fichier(s) copi(s).
cmd.exe /c "mkdir ..\build\lib\gnat"
cmd.exe /c "copy ..\lib\gnat\zanyblue.gpr ..\build\lib\gnat\zanyblue.gpr"
1 fichier(s) copi(s).
make -C zbmcompile
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbmcompile'
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P
zbmcompile
gprbuild: "zbmcompile.exe" up to date
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbmcompile'
make -C zbinfo
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbinfo'
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P zbinfo
gprbuild: "zbinfo.exe" up to date
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbinfo'
make -C zbtest
make[1]: Entering directory `D:/zanyblue-1.3.0b/src/zbtest'
gprbuild -p -XOS=Windows_NT -XTYPE=static -XBUILD=Production -XV_MAJOR=1
-XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P zbtest
gprbuild: "zbtest.exe" up to date
make[1]: Leaving directory `D:/zanyblue-1.3.0b/src/zbtest'
cmd.exe /c "mkdir ..\build\bin"
cmd.exe /c "copy ..\bin\zbinfo.exe ..\build\bin\zbinfo.exe"
1 fichier(s) copi(s).
cmd.exe /c "copy ..\bin\zbmcompile.exe ..\build\bin\zbmcompile.exe"
1 fichier(s) copi(s).
cmd.exe /c "copy ..\bin\zbtest.exe ..\build\bin\zbtest.exe"
1 fichier(s) copi(s).
cmd.exe /c "copy ..\bin\zbx_gjenkins ..\build\bin\zbx_gjenkins"
1 fichier(s) copi(s).
Let me know what you think.
Regards, Pascal.
http://blady.pagesperso-orange.fr
> Le 5 nov. 2017 à 19:24, Pascal via Gnoga-list
> <gnoga-list@lists.sourceforge.net> a écrit :
>
> Thanks Jeremiah,
>
> Anyway your feedback is important.
> Your diff file is also important.
> I'll apply the patch for:
> Makefile
> deps/zanyblue/src/zbcom.gpr
> deps/zanyblue/src/zbmcompile/Makefile
>
> Thanks for information below, sorry if I've already asked you them before, I
> read and answer the e-mail one by one.
>
> 1. Seems to me a confusion from make tool between mingw64 and Windows systems.
> I'm waiting for Zanyblue answer on Windows building configuration.
>
> 2. Seems to me a GPRBuild issue with Windows.
>
> Thanks again, Pascal.
> http://blady.pagesperso-orange.fr
>
>
>> Le 5 nov. 2017 à 15:19, Jeremiah Breeden <jeremiah.bree...@gmail.com> a
>> écrit :
>>
>> Hi,
>>
>> The patch partially worked. It removed all the "make all" errors but still
>> had the windows_nt.mk issue which made the "make all" create spurious
>> directories outside of the gnoga directory. It also caused the sequence
>> "make all" => "make clean" => "make all" to fail on the second "make all"
>> due to some zanyblue conflicts. "make install" still did not work. I made
>> the two changes I discussed earlier:
>>
>> 1. fix the COPY, MKDIR, RMDIR, and DELETE commands
>> cd deps/zanyblue/src/mkfile
>> mv Windows_NT.mk Windows_NT.old
>> cp unix.mk Windows_NT.mk
>>
>> 2. Fix make install
>> changed tools/tools.gpr to have ".exe" appended to the executable names.
>>
>> I've never made a diff before, so I might have messed this up, but I am
>> attaching my updated diff file for reference.
>>
>> I don't know if these are good changes, but they are what worked for:
>> Windows 10 Home
>> mingw64, gcc 7.2 for x86_64-w64-mingw32
>> gprbuild from Gnoga sourceforge site.
>>
>> They may break things on other platforms or configurations. And one comes
>> involves changing zanyblue files...so not sure how useful this is.
>>
>>
>> On Sat, Nov 4, 2017 at 4:54 PM, Pascal via Gnoga-list
>> <gnoga-list@lists.sourceforge.net> wrote:
>> Hello Jeremiah, see answers below.
>> HTH, Pascal.
>> http://blady.pagesperso-orange.fr
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list