From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: Can anyone build AWS on Windows? Date: Wed, 01 Oct 2014 20:16:39 +0200 Organization: A noiseless patient Spider Message-ID: References: <8ac0299b-1935-46f9-962a-57fb710e8cf7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 1 Oct 2014 18:33:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b5264d89a66a0a7e9ad2fb620cb712a2"; logging-data="22518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yq9IzSE8uHpCxskrJnf2W" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.8.1 In-Reply-To: <8ac0299b-1935-46f9-962a-57fb710e8cf7@googlegroups.com> Cancel-Lock: sha1:fFQTozc0y+H1sNwfs2HDZScyBpI= Xref: number.nntp.giganews.com comp.lang.ada:189288 Date: 2014-10-01T20:16:39+02:00 List-Id: On 2014-10-01 18:34, David Botton wrote: > Since I haven't found a volunteer to try gnoga on windows I setup a Win box and... AWS doesn't compile. Makefile issues. I am using CygWin and GNAT-GPL 2014. > > Has anyone managed to get it to compile and run? > > Thanks > David Botton > I run mingw from a cmd-prompt, I start bash c:\bnl\tmp>bash I set the prefix in makefile.conf to prefix = /c/bnl/tools/aws/3.1.0w mkdir -p c:/bnl/tools/aws/3.1.0w make setup make make install this is with gnat pro 7.1.1 then I - in cmd-prompt set ADA_PROJECT_PATH=%ADA_PROJECT_PATH%;c:\bnl\tools\aws\3.1.0w cd to gnoga dir make >make mkdir bin mkdir obj mkdir lib cd src && gprbuild -Pgnoga.gpr gcc -c -gnatyabcefhiklmnprst -E gnoga.adb gnoga.adb:86:07: (style) misplaced "then" gcc -c -gnatyabcefhiklmnprst -E gnoga-types.adb gnoga-types.adb:111:15: warning: "Index" is only defined in Ada 2005 gnoga-types.ads:41:17: warning: "Ada.Strings.Hash" is an Ada 2005 unit gnoga-types.ads:42:20: warning: "Ada.Containers.Indefinite_Vectors" is an Ada 20 05 unit gnoga-types.ads:43:20: warning: "Ada.Containers.Indefinite_Hashed_Maps" is an Ad a 2005 unit gcc -c -gnatyabcefhiklmnprst -E gnoga-server.ads gcc -c -gnatyabcefhiklmnprst -E gnoga-server-model.adb gnoga-server-model.ads:49:20: access-to-constant is an Ada 2005 extension gnoga-server-model.ads:49:20: unit should be compiled with -gnat05 switch gnoga-server-model.ads:53:04: overriding indicator is an Ada 2005 extension gnoga-server-model.ads:53:04: unit must be compiled with -gnat05 switch gnoga-server-model.ads:121:20: access-to-constant is an Ada 2005 extension gnoga-server-model.ads:121:20: unit should be compiled with -gnat05 switch gprbuild: *** compilation phase failed make: *** [gnoga] Error 4 added "-gnat05" in all .gpr files >make cd src && gprbuild -Pgnoga.gpr cd demo/snake && gprbuild using project file snake.gpr gcc -c -E -gnat05 snake-main.adb gcc -c -E -gnat05 snake.ads gcc -c -E -gnat05 snake-connection.adb gprbind snake-main.bexch gnatbind snake-main.ali gcc -c b__snake-main.adb gcc snake-main.o -o snake.exe cd demo/adablog && gprbuild using project file adablog.gpr gcc -c -E -gnat05 adablog-main.adb gcc -c -E -gnat05 adablog.ads gcc -c -E -gnat05 adablog-controller.adb gcc -c -E -gnat05 adablog-migrations.adb gcc -c -E -gnat05 adablog-model.ads gcc -c -E -gnat05 adablog-view.adb gprbind adablog-main.bexch gnatbind adablog-main.ali gcc -c b__adablog-main.adb gcc adablog-main.o -o adablog.exe c:/bnl/tools/gnat/7.1.1/bin/../libexec/gcc/i686-pc-mingw32/4.7.3/ld.exe: cannot find -lsqlite3 collect2.exe: error: ld returned 1 exit status gprbuild: link of adablog-main.adb failed make: *** [adablog] Error 4 well, I do not have sql-lite installed I get snake.exe though. Running that, it works - but I do have the same issues as Niklas Holsti described, arrow keys are not working. Score of 40... I know that git is the coolest thing ever, but I've seen some projects where one can choose between git and svn. It would be nice to access the code via svn too. I now got a tar.gz snapshot, that won't update easy -- -- Björn