Configuring pocl for RISCV
<p>I am trying to use <a href="http://portablecl.org/" rel="nofollow noreferrer">pocl</a> to cross-compile OpenCL programs for RISCV64. Slide 18 at this link: <a href="https://riscv.org/wp-content/uploads/2015/01/riscv-software-toolchain-workshop-jan2015.pdf" rel="nofollow noreferrer">https://riscv.org/wp-content/uploads/2015/01/riscv-software-toolchain-workshop-jan2015.pdf</a> seems to suggest that it is possible to generate scalar code for the RISCV backend. I am using pocl-0.8 (based on llvm 3.3 since that is the stable version for the riscv-llvm backend). </p>

<p>I ran the configure command as follows:</p>

<pre><code>./configure CC=/path/to/riscv/bin/riscv64-unknown-elf-gcc CXX=/path/to/riscv/bin/riscv64-unknown-elf-g++ --host=riscv64-unknown-elf
</code></pre>

<p>I got the following error:</p>

<pre><code>configure: error: unable to find the libtool dl library (usually libltdl-dev)
</code></pre>

<p>I don't get any error if I configure pocl for my native system (x86_64). So, I am guessing I need the RISCV variant of the library mentioned in the error message above but I am not sure how to do that. I would appreciate any help with this. Thanks!</p>