* scripts/mesar.in: Rename from ar.in. Update users.
* build-aux/build.sh.in (LIBS): Update.
* build-aux/check.sh.in (recheck): Likwise.
* build-aux/install.sh.in (DESTDIR): Likwise.
* configure (main): Likwise.
* configure.sh (mes_system): Likwise.
* .gitignore: Update.
/install.sh
/uninstall.sh
/mes/module/mes/boot-0.scm
-/scripts/ar
+/scripts/mesar
/scripts/mescc.scm
/scripts/mescc
/doc/images/gcc-mesboot-graph.png
-I ${srcdest}include/$mes_kernel/$mes_cpu
"
compiler=mescc
- AR="${srcdest}pre-inst-env ar"
+ AR="${srcdest}pre-inst-env mesar"
CC="${srcdest}pre-inst-env mescc -m $mes_bits"
${SHELL} ${srcdest}build-aux/build-lib.sh
)
-nostdlib
"
LIBS=-lc
- AR="${srcdest}pre-inst-env ar"
+ AR="${srcdest}pre-inst-env mesar"
CC="${srcdest}pre-inst-env mescc"
../pre-inst-env ${SHELL} ${srcdest}build-aux/check-mescc.sh
)
DESTDIR=${DESTDIR-}
mkdir -p ${DESTDIR}${bindir}
cp $_v src/mes ${DESTDIR}${bindir}/mes
-cp $_v scripts/ar ${DESTDIR}${bindir}/ar
+cp $_v scripts/mesar ${DESTDIR}${bindir}/mesar
cp $_v scripts/mescc.scm ${DESTDIR}${bindir}/mescc.scm
cp $_v scripts/mescc ${DESTDIR}${bindir}/mescc
"build-aux/install.sh.in"
"build-aux/pre-inst-env.in"
"build-aux/uninstall.sh.in"
- "scripts/ar.in"
+ "scripts/mesar.in"
"scripts/mescc.scm.in"
"scripts/mescc.in"
))
(chmod "pre-inst-env" #o755)
- (chmod "scripts/ar" #o755)
+ (chmod "scripts/mesar" #o755)
(chmod "scripts/mescc" #o755)
(chmod "scripts/mescc.scm" #o755)
(chmod "build.sh" #o755)
chmod +x install.sh
subst ${srcdest}build-aux/pre-inst-env.in pre-inst-env
chmod +x pre-inst-env
-subst ${srcdest}scripts/ar.in scripts/ar
-chmod +x scripts/ar
+subst ${srcdest}scripts/mesar.in scripts/mesar
+chmod +x scripts/mesar
subst ${srcdest}scripts/mescc.scm.in scripts/mescc.scm
chmod +x scripts/mescc.scm
subst ${srcdest}scripts/mescc.in scripts/mescc
+++ /dev/null
-#! @BASH@
-
-# GNU Mes --- Maxwell Equations of Software
-# Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
-#
-# This file is part of GNU Mes.
-#
-# GNU Mes is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or (at
-# your option) any later version.
-#
-# GNU Mes is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
-
-if [ "$V" = 2 ]; then
- set -x
-fi
-
-command=$1
-archive=$2
-shift
-shift
-M1_archive=$(dirname "$archive")/$(basename "$archive" .a).s
-declare -a M1_objects
-for o in "$@"; do
- ((i++))
- M1_objects[$i]=$(dirname "$o")/$(basename "$o" .o).s
-done
-mkdir -p $(dirname "$archive")
-cat "${M1_objects[@]}" > "$M1_archive"
-cat "$@" > "$archive"
--- /dev/null
+#! @BASH@
+
+# GNU Mes --- Maxwell Equations of Software
+# Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+#
+# This file is part of GNU Mes.
+#
+# GNU Mes is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or (at
+# your option) any later version.
+#
+# GNU Mes is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
+
+if [ "$V" = 2 ]; then
+ set -x
+fi
+
+command=$1
+archive=$2
+shift
+shift
+M1_archive=$(dirname "$archive")/$(basename "$archive" .a).s
+declare -a M1_objects
+for o in "$@"; do
+ ((i++))
+ M1_objects[$i]=$(dirname "$o")/$(basename "$o" .o).s
+done
+mkdir -p $(dirname "$archive")
+cat "${M1_objects[@]}" > "$M1_archive"
+cat "$@" > "$archive"