[AWS] Copying AWS-using code to new Windows system: what do we need?

Jocelyn Paine popx at j-paine.org
Wed Sep 24 16:45:39 CEST 2008


We're developing some code that calls AWS, on a Windows XP machine which
has Gnat and AWS installed. Once this code is working, we want to copy it
onto other Windows machines - almost certainly XP or Vista - that do not
have Gnat or AWS. Do we need to install Gnat and AWS on them first?

I ask because I can see a number of possibilities. But I don't know which
is appropriate:

1) On our development machine, we can link our code into a single .exe
file that contains all the Gnat and AWS run-time system. Then we only need
to copy that .exe file to the other machines.

2) As 1, but we can't make the .exe contain the libraries, so we have to
copy it, and the AWS DLLs (and the Gnat DLLs?) to the other machines.

3) We have to install Gnat and AWS on the other machines, and set some
environment variables (PATH?) to point at their DLLs. But then we can run
the .exe that we've compiled on our development machine.

4) We have to install Gnat and AWS on the other machines, and set some
environment variables. And we have to recompile our code on these
machines, because you can't guarantee that a .exe compiled on one machine
will work on another.

I hope that 1 is appropriate, so that we only need to copy a .exe. But I
suspect it's likely to be 2. Any ideas?

Jocelyn Paine
http://www.j-paine.org
+44 (0)7768 534 091



More information about the AWS mailing list