From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 11:16:35 +0000 (+0000) Subject: add qemu, cross-compiler and gdb install to build workflow prerequisites X-Git-Tag: convert-csv-opcode-to-binary~3062 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=798b9dd578e2b415900517a36853c1c00c0d7e93;p=libreriscv.git add qemu, cross-compiler and gdb install to build workflow prerequisites --- 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.