<div dir="ltr"><div><div><div>Hi,<br><br></div>I use `gsc` (v4.7.1) to build a standalone application like this:<br><br>$gsc -o myapp -exe ./core/*.scm myapp.scm<br><br></div>Now I would like to compile all the scheme files in `core` as a static library (libcore.a) and use it in building other apps:<br><br>$gsc -o yourapp -ld-options "-lcore" -exe yourapp.scm<br><br></div><div>I tried to use the `-link -flat` options as described in the manual but ran into linker errors. Is there a simple way to achieve what I am trying to do?<br><br></div><div>Thanks,<br><br></div><div>--Vijay<br></div></div>