% cat hello.scm
(print "hello gauche!")
% gauche hello.scm; echo $?
hello gauche!
0
% gauche build-standalone hello.scm
cc -fPIC -I/usr/lib/gauche-0.97/0.9.9/include -o hello hellofoJouE.c -L/usr/lib/gauche-0.97/0.9.9/x86_64-unknown-linux-gnu -lgauche-static-0.97 -lz -ldl -lcrypt -lutil -lrt -lm -lpthread
% ./hello; echo $?
hello gauche!
70
As a work around, one can put (exit 0) at the end, but this should happen by default imo.