From 798b9dd578e2b415900517a36853c1c00c0d7e93 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 11:16:35 +0000 Subject: [PATCH] add qemu, cross-compiler and gdb install to build workflow prerequisites --- HDL_workflow.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/HDL_workflow.mdwn b/HDL_workflow.mdwn index bfaa2cc2c..ab97903b2 100644 --- a/HDL_workflow.mdwn +++ b/HDL_workflow.mdwn @@ -358,6 +358,28 @@ You can test your installation by doing the following: It should print out `Posit8(1.3125)` +## qemu, cross-compilers, gdb + +As we are doing POWER ISA, POWER ISA compilers, toolchains and +emulators are required. + +Install powerpc64 gcc: + + apt-get install gcc-9-powerpc64-linux-gnu + +Install qemu: + + apt-get install qemu-system-ppc + +Install gdb from source. Obtain the latest tarball, unpack it, then: + + cd gdb-9.1 (or other location) + mkdir build + cd build + ../configure --srcdir=.. --host=x86_64-linux --target=powerpc64-linux-gnu + make -j16 + make install + ## Coriolis2 See [[coriolis2]] page, for those people doing layout work. -- 2.30.2