> Le 28 avr. 2019 à 05:56, Jeremiah Breeden <[email protected]> a 
> écrit :
> 
> Gnoga on Windows 64bit is a bit of a trial unless you are doing GNAT 
> community.  The latest dev branch (1.5) doesn't even install properly when 
> using msys2 (so I've stayed on 1.4 for now).  In terms of what you need to do:
> 
> 1.  Update msys2 to latest GCC and GNAT along with all the necessary build 
> tools like Make using pacman to install everything.
> 2.  gprbuild...I haven't successfully built it on msys2 yet.  I grabbed the 
> gprbuild from the Gnoga repo, but it doesn't work out of the box (it works 
> with 32bit by default, not 64bit).  I copied the files into their correct 
> locations in /mingw64/, then I used gprconfig to create a new .cpgr file and 
> renamed it to the default one and put it in the appropriate share folder.  
> This got me gprbuild.  One thing I did not try but intend to at some point is 
> to simply add my GNAT community version to the end of my path.  Maybe with my 
> FSF first in the path, msys2 will pick up FSF GNAT for the compiler and then 
> GNAT community's 64bit GPRBUILD for the build tools.
> 3.  You have to manually modify gnoga-code/tools/tools.gpr, 
> gnoga-code/deps/zanyblue/src/zbinfo/zbinfo.gpr, and 
> gnoga-code/deps/zanyblue/src/zbmcompile/zbmcompile.gpr to add a .exe to the 
> end of the executable names.  msys2's version of GNAT doesn't recognize the 
> executable files otherwise.  I've mentioned this a few times in tickets and 
> emails here, but I don't think anyone is gonna modify the build scripts (and 
> I don't know how to do it), so if you want commercial ready Gnoga on windows, 
> you'll need to do this yourself for now.
> 
> I know this is a bit concise and I glossed over steps, but if you have 
> trouble ask and I'll try and get you going with more specific ones.

Hello Jeremiah,

Which GNAT version is brought by msys2?
Concerning GPRBuild, it seems that the version from Gnoga SF location is quite 
old and among things doesn't handle correctly exe extension for Window 
executables.
GPRBuild is now available on GitHub from AdaCore: 
https://github.com/AdaCore/gprbuild.
Could you build it from a newer version?
(or anyone else with Windows because I haven't)
If correct I will update it on Gnoga SF.

Regards, Pascal.
http://blady.pagesperso-orange.fr




_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to