While running ./bin/compile_ll.sh HelloWorld.ll I have encountered an another issue.
After changing the script a bit, I was able to get Verbose mode enabled in the linker to see what was going on.
Here are the logs (I have removed the less important output):
attempt to open /home/john/JLang/runtime/out/libjdk.so failed
attempt to open /home/john/JLang/runtime/out/libjdk.a failed
attempt to open /home/john/JLang//out/libjdk.so failed
attempt to open /home/john/JLang//out/libjdk.a failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/libjdk.so failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/libjdk.a failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libjdk.so failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libjdk.a failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../lib64/libjdk.so failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../lib64/libjdk.a failed
attempt to open /usr/bin/../lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /usr/bin/../lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /usr/bin/../lib64/libjdk.so failed
attempt to open /usr/bin/../lib64/libjdk.a failed
attempt to open /lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /lib/../lib64/libjdk.so failed
attempt to open /lib/../lib64/libjdk.a failed
attempt to open /usr/lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /usr/lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /usr/lib/../lib64/libjdk.so failed
attempt to open /usr/lib/../lib64/libjdk.a failed
attempt to open /usr/lib/x86_64-linux-gnu/../../lib64/libjdk.so failed
attempt to open /usr/lib/x86_64-linux-gnu/../../lib64/libjdk.a failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../libjdk.so failed
attempt to open /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../libjdk.a failed
attempt to open /usr/bin/../lib/libjdk.so failed
attempt to open /usr/bin/../lib/libjdk.a failed
attempt to open /lib/libjdk.so failed
attempt to open /lib/libjdk.a failed
attempt to open /usr/lib/libjdk.so failed
attempt to open /usr/lib/libjdk.a failed
attempt to open /usr/local/lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /usr/local/lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /usr/lib/x86_64-linux-gnu/libjdk.so failed
attempt to open /usr/lib/x86_64-linux-gnu/libjdk.a failed
attempt to open /usr/lib/x86_64-linux-gnu64/libjdk.so failed
attempt to open /usr/lib/x86_64-linux-gnu64/libjdk.a failed
attempt to open /usr/local/lib64/libjdk.so failed
attempt to open /usr/local/lib64/libjdk.a failed
attempt to open /lib64/libjdk.so failed
attempt to open /lib64/libjdk.a failed
attempt to open /usr/lib64/libjdk.so failed
attempt to open /usr/lib64/libjdk.a failed
attempt to open /usr/local/lib/libjdk.so failed
attempt to open /usr/local/lib/libjdk.a failed
attempt to open /lib/libjdk.so failed
attempt to open /lib/libjdk.a failed
attempt to open /usr/lib/libjdk.so failed
attempt to open /usr/lib/libjdk.a failed
attempt to open /usr/x86_64-linux-gnu/lib64/libjdk.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/libjdk.a failed
attempt to open /usr/x86_64-linux-gnu/lib/libjdk.so failed
attempt to open /usr/x86_64-linux-gnu/lib/libjdk.a failed
/usr/bin/ld: cannot find -ljdk
While running
./bin/compile_ll.sh HelloWorld.ll
I have encountered an another issue.After changing the script a bit, I was able to get Verbose mode enabled in the linker to see what was going on. Here are the logs (I have removed the less important output):
How would I go about installing these lib files?