You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gnat2goto/COMPILING.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Note: you will *not* be able to build using the debian/ubuntu gnat and gprbuild,
12
12
For **Debian**, install the following debian packages:
13
13
- build-essential
14
14
15
-
For **Mac OSX**, you will need the XCode Command Line tools, which require XCode itself and then a
15
+
For **Mac OSX**, you will need the XCode Command Line tools, which require XCode itself and then a
16
16
```
17
17
xcode-select --install
18
18
```
@@ -27,7 +27,7 @@ select your platform and then 2016 (in that order). Download
27
27
* gnatcoll-gpl-2016
28
28
29
29
30
-
The following assumes you installed GNAT GPL 2016 into /opt/gnat using the doinstall script.
30
+
Install the GNAT GPL Ada 2016 using the `doinstall` script inside the zip. The following instructions assume you picked `/opt/gnat` as the install destination.
31
31
32
32
Install GNATCOLL GPL 2016:
33
33
-`$ export PATH=/opt/gnat/bin:${PATH}`
@@ -38,7 +38,7 @@ Install GNATCOLL GPL 2016:
38
38
39
39
# Building gnat2goto
40
40
41
-
Assuming that you've built the dependencies as per the above instructions
41
+
Assuming that you've built the dependencies as per the above instructions, do the following from within `gnat2goto`.
42
42
43
43
-`$ export PATH=/opt/gnat/bin:${PATH}`
44
44
-`$ export GPR_PROJECT_PATH=/opt/gnat/lib/gnat`
@@ -48,6 +48,8 @@ This should build into install/bin. You can test if it works by calling:
48
48
49
49
` $ install/bin/gnat2goto examples/foo.adb`
50
50
51
+
If it has worked, you should have two files: `foo.ali` and `foo.json_symtab`.
52
+
51
53
# Building and running gnat2goto unit tests
52
54
53
55
gnat2goto includes a selection of unit tests. These are built as a seperate
@@ -66,7 +68,7 @@ In addition to the unit tests, gnat2goto also includes end-to-end regression
66
68
tests. These tests aim to test the full pipeline from Ada source code input
67
69
through to final analysis by CBMC.
68
70
69
-
Instructions for running the regression test suite are described in [testsuite/gnat2goto/README.md](testsuite/gnat2goto/README.md)
71
+
Instructions for running the regression test suite are described in [testsuite/gnat2goto/README.md](../testsuite/gnat2goto/README.md)
70
72
71
73
# Running and updating missing features tests
72
74
@@ -93,7 +95,7 @@ one file per project. Simply copy the '<project>-summary.txt' file from
93
95
94
96
# Updating the CBMC submodule
95
97
96
-
As described in [testsuite/gnat2goto/README.md](testsuite/gnat2goto/README.md)
98
+
As described in [testsuite/gnat2goto/README.md](../testsuite/gnat2goto/README.md)
97
99
gnat2goto includes a GIT submodule for CBMC. In most cases this should not need
98
100
changing, but if you are developing gnat2goto features or fixes that require a
99
101
different version of CBMC then you will need to update the CBMC submodule
0 commit comments