File: link-with-shared

package info (click to toggle)
anet 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 868 kB
  • sloc: ada: 6,485; makefile: 87; sh: 18
file content (21 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -C -e -f -u

cd "$AUTOPKGTEST_TMP"

cat > p.gpr <<EOF
with "anet";
project P is
   for Main use ("p.adb");
end P;
EOF
cat > p.adb <<EOF
with Anet;
procedure P is
   P : constant Anet.Port_Type := Anet.Any_Port;
begin
   null;
end P;
EOF
gprbuild -v p.gpr
./p