From: Chris Hanson Date: Wed, 20 Nov 2002 18:20:40 +0000 (+0000) Subject: Add debugging information to distribution. X-Git-Tag: 20090517-FFI~2139 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a8832c58471526e85c5999086632372d1ce52987;p=mit-scheme.git Add debugging information to distribution. --- diff --git a/v7/dist/make-scmutils b/v7/dist/make-scmutils index 08ed8e0f6..e38085da5 100755 --- a/v7/dist/make-scmutils +++ b/v7/dist/make-scmutils @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: make-scmutils,v 1.3 2002/07/11 16:47:42 cph Exp $ +# $Id: make-scmutils,v 1.4 2002/11/20 18:20:40 cph Exp $ # # Copyright (c) 2001, 2002 Massachusetts Institute of Technology # @@ -63,6 +63,7 @@ BINDIR="${IMAGE_DIR}/bin" AUXDIR="${IMAGE_DIR}/scmutils" MBINDIR="${AUXDIR}/mit-scheme/bin" MAUXDIR="${AUXDIR}/mit-scheme/lib" +BCIDIR="${MAUXDIR}/SRC" STAMP_UNPACK="${TL_DIR}/stamp-unpack" STAMP_BUILD="${TL_DIR}/stamp-build" @@ -87,6 +88,8 @@ if [ ! -f "${STAMP_BUILD}" ];then rm -rf "${BUILD_DIR}" echo "Create new build directory" cpx -qsE "${SOURCE_DIR}/src" "${BUILD_DIR}" + rm -f "${BUILD_DIR}/load.scm" + ln -s "${SOURCE_DIR}/dist/load.scm" "${BUILD_DIR}/." cd "${BUILD_DIR}" echo "Compile binaries" ${SCHEME} -compiler -heap 4000 > compile.out \ @@ -164,10 +167,10 @@ if [ ! -f "${STAMP_IMAGE}" ];then echo "Copy debugging files" for DIR in $(cd ${BUILD_DIR};find * -type d -print); do - ${MKDIR} "${AUXDIR}/linux/${DIR}" + ${MKDIR} "${BCIDIR}/scmutils/${DIR}" for FILE in ${BUILD_DIR}/${DIR}/*.bci; do [ -f "${FILE}" ] \ - && ${INSTALL_DATA} "${FILE}" "${AUXDIR}/linux/${DIR}/." + && ${INSTALL_DATA} "${FILE}" "${BCIDIR}/scmutils/${DIR}/." done done