This is not a bug. It bit me too, but reading the gsc docs made it
clear why the above fails.

gsc produces dynamically linkable shared objects by default, which
will not execute standalone. Here's the output from file command.

test.o1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked, not stripped

gsc 4.6 and above have a -exe option that produces standalone
executables. For gsc 4.2.8 in debian, you'll need to:

$ gsc -link file.scm
$ gcc file.c file_.c -lgambc

See section 3.4.1, Building an executable program, in the gambit-doc
package for more details.

-- 
Sreepathi Pai



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to