[libre-riscv-dev] [Bug 178] first coriolis2 tutorial, workflow and "test project" page
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Tue Apr 21 22:15:06 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=178
--- Comment #218 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #217)
> (In reply to Cole Poirier from comment #216)
> > Luke, do you want gcc-9-powerpc64-linux-gnu installed inside of the chroot?
>
> for coriolis2? we have no reason to compile executables (yet).
I've left out your comments regarding compiling for a moving target for
brevity, but I definitely take your point. The reason I ask is that I'm
following the HDL workflow, and there is a section instructing the user to
install gcc-9-powerpc.
```
Section 6.6 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
```
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list