Anonymous user
RISC-V Meaty Skeleton with QEMU virt board: Difference between revisions
RISC-V Meaty Skeleton with QEMU virt board (view source)
Revision as of 04:59, 10 September 2022
, 1 year ago→Building a Cross-Debugger (optional)
[unchecked revision] | [unchecked revision] |
Line 85:
</source>
Now build the source code (this can take a while):
<source lang="bash">
Line 95:
<source lang="bash">
make -C gdb install
</source>
If you wish to keep the source tree available for conveniently re-building GDB in the future (e.g. with a different set of options), clean up the build files now:
<source lang="bash">
make clean
</source>
Move one level up to the project root:
<source lang="bash">
popd
</source>
Remove the <code>build/</code> directory we created:
<source lang="bash">
rm -rf build/
</source>
Move up one more level:
<source lang="bash">
popd
</source>
Double check our cross-debugger is properly installed:
<source lang="bash">
which -- $TARGET-gdb || echo $TARGET-gdb is not in the PATH
</source>
|