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.

This commit is contained in:
Joakim Strandberg
2023-07-17 19:50:05 +02:00
parent 00b90adc97
commit 58ac57861f
2 changed files with 8 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ chmod +x gnat-2021-20210519-x86_64-linux-bin
```sh
export PATH="/opt/GNAT/2021/bin:$PATH"
cd wrapper/Ada
gprclean
gprbuild default.gpr
gprbuild client.gpr

View File

@@ -6,6 +6,13 @@ project Default is
"../../src",
"../../wolfcrypt/src");
-- Don't build the tls client application because it makes use
-- of the Secondary Stack due to usage of the Ada.Command_Line
-- package. All other Ada source code does not use the secondary stack.
for Excluded_Source_Files use ("tls_client_main.adb",
"tls_client.ads",
"tls_client.adb");
for Object_Dir use "obj";
for Main use ("c_tls_client_main.c",