Summary

csc's -prelude and -postlude options don't work

Metadata

Description

 $ csc -prelude '(void)' test.scm
 sh: 1: Syntax error: "(" unexpected
 
 Error: shell command terminated with non-zero exit status 512: '/usr/bin/chicken' 'test.scm' -output-file 'test.c' -prologue (main)

The contents of test.scm don't really matter. The same error happens in -postlude.

Changes and comments

[2016-10-14 16:46:02 UTC] sjamaan changed status from new to closed

[2016-10-14 16:46:02 UTC] sjamaan set resolution to duplicate

[2016-10-14 16:46:02 UTC] sjamaan wrote:

Never mind, this is just a duplicate of #961:

 $ csc -prelude '"(print 1234)"' test.scm
 $ ./test
 1234