From: Luke Kenneth Casson Leighton Date: Sun, 14 Oct 2018 04:20:02 +0000 (+0100) Subject: add mention of LD_LIBRARY_PATH X-Git-Tag: convert-csv-opcode-to-binary~4963 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c1d427086f9d3174baa4c14656070e8bb3a5529;p=libreriscv.git add mention of LD_LIBRARY_PATH --- diff --git a/3d_gpu/spike_sv.mdwn b/3d_gpu/spike_sv.mdwn index ae092692f..462ba6a3c 100644 --- a/3d_gpu/spike_sv.mdwn +++ b/3d_gpu/spike_sv.mdwn @@ -29,3 +29,9 @@ at least riscv32/64-unknown-elf-gcc to be in the path) * $ make * $ make run +To override the fact that spike loads libspike\_main.so and other dynamic +libraries from /usr/local/lib (or other location in the path): + + $ export LD_LIBRARY_PATH=`pwd` + $ ./spike pk ./a.out +