#!/bin/sh # Basic checks for debian/patches/ada-lib-info-source-date-epoch.diff. # Copyright (C) 2020 Nicolas Boulenguez # Usage: # build GCC # sh debian/ada/test_ada_source_date_epoch.sh # rm -fr build/test_ada_source_data_epoch set -C -e -u -x # Inside the GCC tree: mkdir build/test_ada_source_data_epoch cd build/test_ada_source_data_epoch export LD_LIBRARY_PATH=../gcc/ada/rts:`echo ../*/libgnat_util/.libs` gnatmake="../gcc/gnatmake --RTS=`echo ../*/libada` --GCC=../gcc/xgcc -c -v" # For local tests: # gnatmake="gnatmake -c -v" cat > lib.ads < main.adb <