Hi Community

I am trying to build a static build using the Chicken Scheme compiler.  Is
it possible to do?

The man page for the Chicken Scheme compiler says:

     -static-libs
             Link with static CHICKEN libraries and extensions.

I am using Ubuntu 20.04 and Chicken Scheme (there is no csc --version)
5.1.0-1

om@hholst-lt:~$ cat test.scm
(display "Hello, world!")
(newline)
om@hholst-lt:~$ csc -static-libs test.scm
csc: invalid option `-static-libs'
om@hholst-lt:~$ csc -static test.scm
om@hholst-lt:~$ file test
test: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=404130f56845a6f350956e258c5b836d7bad692b, for GNU/Linux
3.2.0, with debug_info, not stripped
om@hholst-lt:~$

Henrik Holst

Reply via email to