[AWS] ssl-thin on Windows

Pascal Obry pascal at obry.net
Tue Sep 2 20:04:40 CEST 2008


Jocelyn,

> To compile hello_world.adb, I went to c:\aws\demos\ , and gave the
> command:
>   gcc -c hello_world.adb

> This gave me these errors:
>   hello_world.adb:35:06: file "ssl-thin.ads" not found
>   hello_world.adb:35:06: "Hello_World (body)" depends on "Aws.Server (spec)"
>   hello_world.adb:35:06: "Aws.Server (spec)" depends on "Aws.Net.Ssl (spec)"
>   hello_world.adb:35:06: "Aws.Net.Ssl (spec)" depends on "Ssl.Thin (spec)"

This is expected. To build an AWS application you need to use a project
file (see AWS User's Guide). It is still possible to specify the sources
and object dir using -I, -L... but this is not recommended as it is
*painful* ! Again, this is document in AWSUser's Guide.

> Do I need to set up a project file, or is there a problem with my
> installation, do you think?

You need to set up a project file to build your application.

BTW, I would recommend to do your experiments outside the AWS directory.
You're better creating a directory (say c:\tests\aws) and put
hello_world.adb, hello_world_cb.ad* plus the project file there.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595


More information about the AWS mailing list