chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

static builds


From: Henrik Holst
Subject: static builds
Date: Mon, 21 Dec 2020 12:24:10 +0100

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

[Prev in Thread] Current Thread [Next in Thread]