[gambit-list] Link loadable library to Scheme file

Thomas Hage thomas.hage at live.de
Tue Sep 7 12:50:19 EDT 2021


Hello community,

I want to declare procedures in a file `a`, which can be reused by 
loadable libraries.
If I understood correctly, I need to -flat -link the new file `a` 
and link this together, but I don't grasp the steps.

This produces my loadable library, which is working fine.
`gsc -ld-options "-ltree-sitter -ltree-sitter-java" -o 
bin/ts-java-binding.o1 lib/lang/java/ts-java-binding.scm`

But I want to access methods from file `a`, which lies in the 
parent directory.
How should I assemble the new loadable library?

Thanks in advance..

Thomas



More information about the Gambit-list mailing list