Skip to content

Commit a60810c

Browse files
Merge pull request #6664 from joakim-strandberg/ada_windows_support
Ada windows support
2 parents 0c39b80 + 8794e3f commit a60810c

9 files changed

Lines changed: 53 additions & 675 deletions

File tree

wrapper/Ada/README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ formal verification). To formally verify the Ada code in this repository
2929
open the client.gpr with GNAT Studio and then select
3030
SPARK -> Prove All Sources and use Proof Level 2.
3131

32+
```
3233
Summary of SPARK analysis
3334
=========================
3435
@@ -47,6 +48,7 @@ Termination . . .
4748
Concurrency . . . . . .
4849
---------------------------------------------------------------------------------------------------------------
4950
Total 172 17 (10%) . 155 (90%) . .
51+
```
5052

5153
## Compiler and Build System installation
5254

@@ -73,6 +75,13 @@ cd obj/
7375
./tls_client_main 127.0.0.1
7476
```
7577

78+
On Windows, build the executables with:
79+
```sh
80+
gprbuild -XOS=Windows default.gpr
81+
gprbuild -XOS=Windows client.gpr
82+
```
83+
84+
7685
### GNAT FSF Compiler and GPRBuild manual installation
7786
In May 2022 AdaCore announced the end of the GNAT Community releases.
7887
Pre-built binaries for the GNAT FSF compiler and GPRBuild can be
@@ -82,18 +91,14 @@ Make sure the executables for the compiler and GPRBuild are on the PATH
8291
and use gprbuild to build the source code.
8392

8493
## Files
85-
The file c_tls_client_main.c and c_tls_server_main.c are the TLS v1.3
86-
server and client examples using the WolfSSL library implemented using
87-
the C programming language.
88-
89-
The translation of the C client example into the Ada/SPARK programming
90-
language can be found in the files:
94+
The TLS v1.3 client example in the Ada/SPARK programming language
95+
using the WolfSSL library can be found in the files:
9196
tls_client_main.adb
9297
tls_client.ads
9398
tls_client.adb
9499

95-
The translation of the C server example into the Ada/SPARK programming
96-
language can be found in the files:
100+
The TLS v1.3 server example in the Ada/SPARK programming language
101+
using the WolfSSL library can be found in the files:
97102
tls_server_main.adb
98103
tls_server.ads
99104
tls_server.adb

wrapper/Ada/c_tls_client_main.c

Lines changed: 0 additions & 285 deletions
This file was deleted.

0 commit comments

Comments
 (0)