aboutsummaryrefslogtreecommitdiff
path: root/sim_configure
diff options
context:
space:
mode:
authoradinn <none@none>2013-07-05 12:39:58 +0100
committeradinn <none@none>2013-07-05 12:39:58 +0100
commit4220593292b823f63e781ce43b726df6ef8cdee4 (patch)
treee26b5dc71d3973485ddad854f1f21e21ddb7b29e /sim_configure
parentad3dc52760e72c572f8121944400c4d6a40400c4 (diff)
Added build scripts and updated README.aarch64 explaining how to use them
Still need to add details of how to obtain and set up the ARM fastmodel and a Linux sysroot and how to run on the fastmodel.
Diffstat (limited to 'sim_configure')
-rwxr-xr-xsim_configure17
1 files changed, 17 insertions, 0 deletions
diff --git a/sim_configure b/sim_configure
new file mode 100755
index 0000000..ee86c00
--- /dev/null
+++ b/sim_configure
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+# check we have a simulator tree
+if [ ! -d ../simulator ] ; then
+ echo "downloading aarch64 simulator code from sourceforge into directory ../simulator"
+ (cd .. ; hg clone http://hg.code.sourceforge.net/p/smallaarch64sim/code simulator)
+fi
+
+if [ ! -d ../binutils ] ; then
+ echo "downloading aarch64 binutils code from sourceforge into directory ../binutils"
+ echo "by executing the following command"
+ (cd .. ; hg clone http://hg.code.sourceforge.net/p/binutilsaarch64/code binutils)
+fi
+
+# check we have a binutils tree
+
+# now configure a jdk8 build using the small aarch64 simulator
+sh ./configure --with-debug-level=slowdebug --with-boot-jdk=/usr/lib/jvm/java-1.7.0-openjdk.x86_64 --with-jvm-variants=client --with-sys-root=/ --openjdk-target=aarch64-oe-linux --disable-zip-debug-info