From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <850f3fa88f8629d1b752074f0f2f6560@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Win32 console apps from plan9? From: Charles Forsyth In-Reply-To: <20040405134745.GA26859@otdel1.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-twjsrnpylfufvqoogvrdsqynhp" Date: Mon, 5 Apr 2004 14:51:43 +0100 Topicbox-Message-UUID: 50b214d6-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-twjsrnpylfufvqoogvrdsqynhp Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit they don't generate win 32 executables. >I muttered about re-targeting 8c a couple of years ago >but forsyth pointed out the calling convention is so >different that a complete shim around the win32 api, >or a serious rework of 8c would be required. i think it was less the calling conventions, where i suppose you could try to use a pragma to control it, since caller-saves and BP as frame pointer are some of the obvious differences but perhaps not so hard, but rather more difficult that you'd find it hard if you couldn't link against the existing win32 libraries (with or without wrappers), and that would be difficult because 8l would need to handle .obj, or 8c would need to generate .obj, both of which (particularly the latter i think) would be tricky. --upas-twjsrnpylfufvqoogvrdsqynhp Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Mon Apr 5 14:49:05 BST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id D63A419E42; Mon, 5 Apr 2004 09:48:09 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1D5C519AF6; Mon, 5 Apr 2004 09:48:07 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 555C519C87; Mon, 5 Apr 2004 09:47:51 -0400 (EDT) Received: from Draculina.otdel-1.org (unknown [62.105.150.37]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 1137219B39 for <9fans@cse.psu.edu>; Mon, 5 Apr 2004 09:47:49 -0400 (EDT) Received: by Draculina.otdel-1.org (Postfix, from userid 1001) id 3DE9147619; Mon, 5 Apr 2004 17:47:46 +0400 (MSD) From: Nikolai SAOUKH To: 9fans@cse.psu.edu Subject: Re: [9fans] Win32 console apps from plan9? Message-ID: <20040405134745.GA26859@otdel1.org> Mail-Followup-To: 9fans@cse.psu.edu References: <2777ffc3a7017935fabfb9b8a1d7fc1e@snellwilcox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2777ffc3a7017935fabfb9b8a1d7fc1e@snellwilcox.com> User-Agent: Mutt/1.5.6i Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 5 Apr 2004 17:47:45 +0400 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: | Initially all I need is very dull console I/O, reading and | writing files etc. May be inferno utils will help you? --upas-twjsrnpylfufvqoogvrdsqynhp--