summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-30 04:57:33 -0700
committerYamaArashi <shadow962@live.com>2016-04-30 04:57:33 -0700
commitd1cb3194bb20a44eecafe4186cf4e368f2a4d5b8 (patch)
treed0f27aa47b8f124d7e92b2e2747cc8c05da676b0 /install.sh
parent0dfd357a5116b3d76fbaa9bcdd16902c28f60d2b (diff)
build libgcc with older version of compiler and add install script
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 0000000..3191131
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+if [ "$1" != "" ]; then
+ mkdir -p $1/tools/agbcc
+ mkdir -p $1/tools/agbcc/bin
+ mkdir -p $1/tools/agbcc/include
+ mkdir -p $1/tools/agbcc/lib
+ cp gcc/agbcc $1/tools/agbcc/bin/
+ cp ginclude/* $1/tools/agbcc/include/
+ cp libgcc/libgcc.a $1/tools/agbcc/lib/
+else
+ echo "Usage: install.sh PATH"
+fi