[plt-scheme] Trying to generate C output with mzc..

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Mar 19 23:52:06 EDT 2007

At Sat, 17 Mar 2007 11:57:59 -0400, Kyle Smith wrote:
>  C:\Documents and Settings\kyle\My Documents\Scheme\math>mzc -c --unsafe-disable-
> interrupts --unsafe-skip-tests --unsafe-fixnum-arithmetic factorial.scm
> mzc v369.8 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
> "factorial.scm":
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
> factorial.c
>  [output to ".\factorial.c"]
> -------------------END mzc output ------------------------------
> The problem is that the ".\factorial.c" is not created, despite the message indicating that it 
> was.

There were several problems in mzc's file placement and clean-up in 3m
mode. The problems are now fixed in SVN.

The output file will be "factorial3m.c". You may find the output more
readable in CGC mode (use --cgc), which produces "factorial.c".


Posted on the users mailing list.