Opened 8 years ago

Closed 8 years ago

#1334 closed defect (duplicate)

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

Reported by: sjamaan Owned by:
Priority: major Milestone: 4.12.0
Component: compiler Version: 4.11.0
Keywords: Cc:
Estimated difficulty: easy

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.

Change History (1)

comment:1 Changed 8 years ago by sjamaan

Resolution: duplicate
Status: newclosed

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

$ csc -prelude '"(print 1234)"' test.scm
$ ./test
1234
Note: See TracTickets for help on using tickets.