File: examples

package info (click to toggle)
gprbuild 2015-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,228 kB
  • ctags: 67
  • sloc: ada: 27,214; xml: 4,127; makefile: 337; sh: 227; cpp: 89; fortran: 62; ansic: 37
file content (22 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -C -e -f -u
TOP_SOURCE_DIR="`pwd`"
cd "$ADTTMP"

cp -a "$TOP_SOURCE_DIR/examples" .
cd examples

rm -fr ada_f77
# Needs gnat-sjlj and asm.

rm -fr ppc-elf
# Needs zfp runtime.

make
make clean

# test running gprbuild with the default config file
gprbuild first_steps/c_main.gpr
gprclean first_steps/c_main.gpr
gprbuild first_steps/ada_main.gpr
gprclean first_steps/ada_main.gpr