comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: Can anyone build AWS on Windows?
Date: Wed, 01 Oct 2014 20:16:39 +0200
Date: 2014-10-01T20:16:39+02:00	[thread overview]
Message-ID: <m0hhde$lvm$1@dont-email.me> (raw)
In-Reply-To: <8ac0299b-1935-46f9-962a-57fb710e8cf7@googlegroups.com>

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


       reply	other threads:[~2014-10-01 18:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8ac0299b-1935-46f9-962a-57fb710e8cf7@googlegroups.com>
2014-10-01 18:16 ` Björn Lundin [this message]
2014-10-03  3:12   ` Can anyone build AWS on Windows? David Botton
2014-10-03  3:17   ` David Botton
2014-10-03  7:39     ` Björn Lundin
2014-10-02  6:13 ` Shark8
2014-10-03 16:27   ` Pascal Obry
2014-10-03 18:27     ` Shark8
2014-10-09 22:24       ` Randy Brukardt
2014-10-04  2:04     ` Jeremiah
2014-10-05  1:53       ` David Botton
2014-10-04 21:17 ` Maciej Sobczak
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox