9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Win32 console apps from plan9?
Date: Mon,  5 Apr 2004 14:51:43 +0100	[thread overview]
Message-ID: <850f3fa88f8629d1b752074f0f2f6560@terzarima.net> (raw)
In-Reply-To: <20040405134745.GA26859@otdel1.org>

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

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.

[-- Attachment #2: Type: message/rfc822, Size: 1975 bytes --]

From: Nikolai SAOUKH <nms@otdel1.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Win32 console apps from plan9?
Date: Mon, 5 Apr 2004 17:47:45 +0400
Message-ID: <20040405134745.GA26859@otdel1.org>

| Initially all I need is very dull console I/O, reading and
| writing files etc.

May be inferno utils will help you?

      reply	other threads:[~2004-04-05 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 13:25 plan9fans
2004-04-05 13:38 ` Brantley Coile
2004-04-05 13:47 ` Nikolai SAOUKH
2004-04-05 13:51   ` Charles Forsyth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=850f3fa88f8629d1b752074f0f2f6560@terzarima.net \
    --to=forsyth@terzarima.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).