[AWS] one more problem: compiling demos from GPS
Dominique Casserres
Dominique.Casserres at valtech.fr
Mon Jul 24 16:41:51 CEST 2006
> > I am trying to use the demos.gpr file to compile and (I hope) run
> > the demos
>
> What do you mean by "use the demos.gpr" ? The demos are built as part
of
> the main build (i.e. when doing "make build").
I mean would like to get exe to run the demos. Since the build not has
build them (only .o files are outputted), I tried to find a way to
compile and execute them.
>
> If you want to use AWS for your own project you need to install AWS,
> something like :
>
> $ make INSTALL=/cygdrive/C/tools/gnat/2006 install
>
> (not sure c:/tools/gnat/2006 will work here, remember the make/cp/mv
> tools are Cygwin based so the install dir must be understood by Cygwin
> toolset).
>
> If c:/tools/gnat/2006 is the GNAT root install dir. Also it is wrong
in
> my view to build AWS into the GNAT root directory. Build it into your
> home dir and install it there. This is cleaner.
Ok but from my point of view this is not stated clearly in the doc.
I read it carefully and try to manage with non addressed topics.
The doc says :
[[ Alternatively, with GNAT 5.03 and above it is possible to install AWS
[[into the GNAT Standard Library location. In this case AWS is
ready-to-use [[as there is no need to set ADA_PROJECT_PATH.
[[ $ make install-gnat INSTALL=/opt/gnatpro/5.03a/lib/gnat
Target install-gnat is not known andwhen I read thies lines, I though
this was recommended since ready-to_use!!!
At first glance, I though it will be quite easy to install AWS but when
you get into the practice, I is not so easy. There are a lot of message
about it in the mailing list.
I will keep you informed on it. I relaunch the process make setup, make
build and so on.
Make setup output me some errors and I was "obliged" to switch from gnu
compiler to gnat one to cope with issues.
More information about the AWS
mailing list