File: link-with-shared

package info (click to toggle)
libflorist 2017-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,212 kB
  • sloc: ada: 11,902; ansic: 7,195; makefile: 137; sh: 18
file content (20 lines) | stat: -rw-r--r-- 275 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
#!/bin/sh
set -C -e -f -u
cd "$AUTOPKGTEST_TMP"

cat > p.gpr <<EOF
with "florist";
project P is
   for Main use ("p.adb");
end P;
EOF
cat > p.adb <<EOF
with POSIX;
procedure P is
   V : constant Integer := POSIX.POSIX_Version;
begin
   null;
end P;
EOF
gprbuild -v p.gpr
./p