CVS: sml-dist/config _heap2exec,NONE,1.1 install.sh,1.46,1.47 targets,1.21,1.22 unpack,1.6,1.7
Matthias Blume <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11855/config
Modified Files:
install.sh targets unpack
Added Files:
_heap2exec
Log Message:
new experimental heap2exec facility
--- NEW FILE: _heap2exec ---
#!@SHELL@
if [ x${SMLNJ_HOME} = x ] ; then
BIN_DIR="@BINDIR@"
else
BIN_DIR=${SMLNJ_HOME}/bin
fi
ARCH_N_OPSYS=`"$BIN_DIR/.arch-n-opsys"`
if [ "$?" != "0" ]; then
echo "$CMD: unable to determine architecture/operating system"
exit 1
fi
eval $ARCH_N_OPSYS
RUNX=${BIN_DIR}/.run/runx.${ARCH}-${OPSYS}
H2A=${BIN_DIR}/heap2asm
if [ $# != 2 ] ; then
echo usage: $0 heapfile execfile
exit 1
fi
heapfile=$1
execfile=$2
if [ -f $RUNX ] ; then
if [ -f $H2A ]; then
${H2A} "$heapfile" "$execfile".s
cc -c "$execfile".s
ld -o "$execfile" ${RUNX} "$execfile".o -lc
rm "$execfile".[so]
else
echo $0: heap2asm is not installed
exit 2
fi
else
echo $0: linkable runtime system object not available
exit 2
fi
exit 0
Index: install.sh
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/config/install.sh,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** install.sh 14 Dec 2004 23:23:38 -0000 1.46
--- install.sh 14 Jan 2005 23:53:18 -0000 1.47
***************
*** 261,264 ****
--- 261,266 ----
installdriver _ml-makedepend ml-makedepend
+ installdriver _heap2exec heap2exec
+
#
# set some architecture dependent run-time system flags
***************
*** 315,318 ****
--- 317,323 ----
if [ -x run.$ARCH-$OPSYS ]; then
mv run.$ARCH-$OPSYS "$RUNDIR"
+ if [ -f runx.$ARCH-$OPSYS ]; then
+ mv runx.$ARCH-$OPSYS "$RUNDIR"
+ fi
$MAKE MAKE=$MAKE clean
else
Index: targets
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/config/targets,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** targets 13 Sep 2004 21:19:04 -0000 1.21
--- targets 14 Jan 2005 23:53:18 -0000 1.22
***************
*** 109,112 ****
--- 109,116 ----
#request nowhere
+ # Build and install 'heap2asm' - an experimental component of
+ # a new facility for producing true stand-alone executables.
+ #request heap2asm
+
# Note: autoloading is always enabled.
# In order to customize what is being pre-registered for autoloading
Index: unpack
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/config/unpack,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** unpack 14 Dec 2004 23:23:39 -0000 1.6
--- unpack 14 Jan 2005 23:53:18 -0000 1.7
***************
*** 281,284 ****
--- 281,287 ----
unpack "SML/NJ-C FFI" "$SRCDIR" smlnj-c smlnj-c
;;
+ heap2asm)
+ unpack "Heap->ASM tool" "$SRCDIR" heap2asm heap2asm
+ ;;
doc)
echo Package doc is currently unavailable.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt