Skip to content

Exit status of build-standalone executable is not 0 by default. #861

@leahneukirchen

Description

@leahneukirchen
% 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions