Skip to content

Commit 58ac578

Browse files
Updated the README.md file and made sure that using default.gpr to build the Ada TLS server application does not try to build the Ada TCL client application that makes use of the secondary stack.
1 parent 00b90ad commit 58ac578

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

wrapper/Ada/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ chmod +x gnat-2021-20210519-x86_64-linux-bin
6363

6464
```sh
6565
export PATH="/opt/GNAT/2021/bin:$PATH"
66+
cd wrapper/Ada
6667
gprclean
6768
gprbuild default.gpr
6869
gprbuild client.gpr

wrapper/Ada/default.gpr

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ project Default is
66
"../../src",
77
"../../wolfcrypt/src");
88

9+
-- Don't build the tls client application because it makes use
10+
-- of the Secondary Stack due to usage of the Ada.Command_Line
11+
-- package. All other Ada source code does not use the secondary stack.
12+
for Excluded_Source_Files use ("tls_client_main.adb",
13+
"tls_client.ads",
14+
"tls_client.adb");
15+
916
for Object_Dir use "obj";
1017

1118
for Main use ("c_tls_client_main.c",

0 commit comments

Comments
 (0)