#!/bin/sh
# Run the EDG C++ Front End through eccp with the right options to
# build the runtime library.
#
unset CPFE
EDG_BASE=..
export EDG_BASE
# Read edg_eccp_config to get the defintion of EDG_LIB_ECCP_FLAGS
config_file=$EDG_BASE/edg_eccp_config
if [ -f $config_file ] ; then
	. $config_file
fi
../bin/eccp --building_runtime --c++23 --exceptions $EDG_LIB_ECCP_FLAGS $*
