From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 15:34:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9CF1065670 for ; Tue, 18 Jan 2011 15:34:15 +0000 (UTC) (envelope-from yxy.716@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2D04B8FC0A for ; Tue, 18 Jan 2011 15:34:14 +0000 (UTC) Received: by eyf6 with SMTP id 6so3403113eyf.13 for ; Tue, 18 Jan 2011 07:34:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=x1UQVRYqRSyurGvkV/sx03oY4EMNPePkFySCnnLfEOQ=; b=lTZQ6zCr1+BtDI5heoH9ckuFG6hCn4HNF4liSeVr4oCxu7tGcicUn2AXNleK8tcJEy lVpwxOlHZo1S5uuWFSFU3b/SUwT0lVEUxWUUy5OddzvdZLWfLxY6UndQuAEwgXmAlROP 0352Jw8maSwya7MKc+t0GqI6ujil800D4KDDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=xf7qXkZRVRPCMMC4rCGXNruqd4X03g0Y3RX/x7uBGCRv9LEXHTBz9v3zIBqxUVdiqZ MDUbTgimbLEfrIjphEhwD2i+vLxMIsXrIXf9/OZPalIeko2PZTVkkg1Eh9rbaAi+7j4W sJw8AMNmAEFi+M0nNChP0ZKDhgof+kl57XhzE= Received: by 10.213.16.137 with SMTP id o9mr5801294eba.31.1295364854034; Tue, 18 Jan 2011 07:34:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.15.137 with HTTP; Tue, 18 Jan 2011 07:33:53 -0800 (PST) From: xinyou yan Date: Tue, 18 Jan 2011 23:33:53 +0800 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: mit-scheme X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 15:34:15 -0000 Yesterday I make install the mit-scheme. And i use some methods in the repl. However. I don't know how to compile a code file Here is " how to compile " in mit-scheme User=92s Manual 4.1 Compilation Procedures cf filename [destination] [procedure] This is the program that transforms a source-code file into native-code binary form. If destination is not given, as in (cf "foo") cf compiles the file =91foo.scm=92, producing the file =91foo.com=92 (incidentally it will also produce =91foo.bin=92, =91foo.bci=92, and possibly =91foo.ext=92). If you l= ater evaluate (load "foo") =91foo.com=92 will be loaded rather than =91foo.scm=92. If destination is given, it says where the output files should go. If this argument is a directory, they go in that directory, e.g.: (cf "foo" "../bar/") will take =91foo.scm=92 and generate the file =91../bar/foo.com=92. If destination is not a directory, it is the root name of the output: (cf "foo" "bar") takes =91foo.scm=92 and generates =91bar.com=92. I can't understand . I use scheme --compile test.asm It doesn't work; thank you