build: Remove scripts/mes symlink.
This commit is contained in:
parent
4958921abc
commit
28b3ec954b
2
build.sh
2
build.sh
|
@ -52,7 +52,7 @@ $HEX2 --LittleEndian --Architecture=1 --BaseAddress=0x1000000\
|
|||
-f mes.hex2\
|
||||
-f mes-blood-elf-footer.hex2\
|
||||
--exec_enable\
|
||||
-o mes
|
||||
-o src/mes
|
||||
|
||||
$M1 --LittleEndian --Architecture=1 -f\
|
||||
stage0/x86.M1\
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
set -e
|
||||
|
||||
export GUILE=${GUILE-guile}
|
||||
export MES=${MES-./mes}
|
||||
export MES=${MES-./src/mes}
|
||||
|
||||
tests="
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export MES=${MES-src/mes.gcc}
|
||||
export MES=${MES-src/mes}
|
||||
export MESCC=${MESCC-scripts/mescc.mes}
|
||||
#export MES_ARENA=${MES_ARENA-200000000} > 12GB mem
|
||||
|
||||
GUILE=${GUILE-guile}
|
||||
MES=${MES-./mes}
|
||||
MES=${MES-src/mes}
|
||||
M1=${M1-M1}
|
||||
HEX2=${HEX2-hex2}
|
||||
MESCC=${MESCC-guile/mescc.scm}
|
||||
|
|
2
check.sh
2
check.sh
|
@ -19,7 +19,7 @@
|
|||
# along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export GUILE=${GUILE-guile}
|
||||
export MES=${MES-./mes}
|
||||
export MES=${MES-src/mes}
|
||||
#export MES_ARENA=${MES_ARENA-200000000} #9GiB
|
||||
|
||||
set -e
|
||||
|
|
|
@ -8,7 +8,7 @@ MES_SEED=${MES_SEED-../mes-seed}
|
|||
TINYCC_SEED=${TINYCC_SEED-../tinycc-seed}
|
||||
|
||||
mkdir -p $PREFIX/bin
|
||||
cp mes $PREFIX/bin/mes
|
||||
cp src/mes $PREFIX/bin/mes
|
||||
|
||||
mkdir -p $PREFIX/lib
|
||||
mkdir -p $MES_PREFIX/lib
|
||||
|
|
12
test.sh
12
test.sh
|
@ -28,25 +28,25 @@ M1=${M1-M1}
|
|||
HEX2=${HEX2-hex2}
|
||||
MESCC=${MESCC-guile/mescc.scm}
|
||||
|
||||
$MESCC -E -o scaffold/tests/$t.E scaffold/tests/$t.c
|
||||
$MESCC -c -o scaffold/tests/$t.M1 scaffold/tests/$t.E
|
||||
sh $MESCC -E -o scaffold/tests/$t.E scaffold/tests/$t.c
|
||||
sh $MESCC -c -o scaffold/tests/$t.M1 scaffold/tests/$t.E
|
||||
$M1 --LittleEndian --Architecture=1\
|
||||
-f stage0/x86.M1\
|
||||
-f scaffold/tests/$t.M1\
|
||||
> scaffold/tests/$t.hex2
|
||||
-o scaffold/tests/$t.hex2
|
||||
|
||||
# $MESCC -E -o lib/crt1.E lib/crt1.c
|
||||
# $MESCC -c -o lib/crt1.M1 lib/crt1.E
|
||||
# $M1 --LittleEndian --Architecture=1 \
|
||||
# -f stage0/x86.M1\
|
||||
# -f lib/crt1.M1\
|
||||
# > lib/crt1.hex2
|
||||
# -o lib/crt1.hex2
|
||||
# $MESCC -E -o lib/libc-mes.E lib/libc-mes.c
|
||||
# $MESCC -c -o lib/libc-mes.M1 lib/libc-mes.E
|
||||
# $M1 --LittleEndian --Architecture=1\
|
||||
# -f stage0/x86.M1\
|
||||
# -f lib/libc-mes.M1\
|
||||
# > lib/libc-mes.hex2
|
||||
# -o lib/libc-mes.hex2
|
||||
|
||||
$HEX2 --LittleEndian --Architecture=1 --BaseAddress=0x1000000\
|
||||
-f stage0/elf32-header.hex2\
|
||||
|
@ -54,7 +54,7 @@ $HEX2 --LittleEndian --Architecture=1 --BaseAddress=0x1000000\
|
|||
-f lib/libc-mes.hex2\
|
||||
-f scaffold/tests/$t.hex2\
|
||||
-f stage0/elf32-footer-single-main.hex2\
|
||||
> scaffold/tests/$t.mes-out
|
||||
-o scaffold/tests/$t.mes-out
|
||||
chmod +x scaffold/tests/$t.mes-out
|
||||
|
||||
r=0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
#echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES "$@"
|
||||
#paredit:||
|
||||
cat module/mes/base-0.mes $0 | $MES "$@"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*-scheme-*-
|
||||
MES_ARENA=${MES_ARENA-10000000}
|
||||
export MES_ARENA
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS $MES_FLAGS"$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
# ***REMOVE THIS BLOCK COMMENT INITIALLY***
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*-scheme-*-
|
||||
MES=${MES-$(dirname $0)/../scripts/mes}
|
||||
MES=${MES-$(dirname $0)/../src/mes}
|
||||
echo ' ()' | cat $(dirname $0)/../module/mes/base-0.mes $0 /dev/stdin | $MES $MES_FLAGS "$@"
|
||||
#paredit:||
|
||||
exit $?
|
||||
|
|
Loading…
Reference in a new issue