9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Any demand for a supported Windows version of p9port?
Date: Thu, 28 Jul 2016 11:49:14 +0100	[thread overview]
Message-ID: <8e03800a4e1267b281b551eed76019f6@quintile.net> (raw)
In-Reply-To: <052AE7BC-8AD5-4C0D-9E7A-F67F9B02905C@gmail.com>

I have a different approach.

Personally I have only command line utilities as I keep Plan9 as my desktop (raspberry PI).

I need to cross compile on windows so I have a tool to cpu into a windows box (called dos).
This allows me to have a rio window onto a a dos shell.

It does the trick like cpu(1) to allow me to hop from a plan9 rc(1) session (in a cifs
mounted directory on the windows box), into an rc(1) session on windows and arrive at the same
directory.

I use 'local 9fs billy' at startup to make sure sam, rio, and all windows can see my windows box,
thus plumb on windows "just works" to edit files.

e.g.

My windows box is called billy (after mr gates) and my plan9 one is custard (nice with raspberry pies).

	custard%
	custard% cat /dev/osversion ; echo
	2000
	custard% pwd
	/n/billy/c/New/Application
	custard% dos
	billy%  mswin/osversion
	Windows 7
	billy% pwd
	c:/New/Application
	billy%
	billy% make
	mingw32-make -s - -C Debug Application.elf
	billy%

I could port gmake and the gcc cross compiler to plan9 to do this but there would always be
bits missing and I need to be sure that what I check in can be built by other people working
on windows.

It compiles under mingw32 - I started a mingw64 version but never finished the work (sorry).
The port predates 9pf, I would probably have used that if I had existed. It also contains none
of the graphics code that 9pf has, so no native windows sam; though I have no need of it in my
environment.

This is all available if anyone wants it.

-Steve



  parent reply	other threads:[~2016-07-28 10:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 11:55 [9fans] Virtual Box 5.1 and Plan 9 Peter Hull
2016-07-27 23:59 ` cinap_lenrek
2016-07-28  1:08   ` [9fans] Any demand for a supported Windows version of p9port? Andrew Simmons
2016-07-28  1:27     ` Chris McGee
2016-07-28  1:41       ` Winston Kodogo
2016-07-28  5:09         ` Joseph Stewart
2016-07-28  5:34           ` Andrew Simmons
2016-07-28  8:39             ` hiro
2016-07-28  9:15         ` Staven
2016-07-28 23:53           ` Andrew Simmons
2016-07-28 10:49     ` Steve Simon [this message]
2016-07-29  0:03       ` Andrew Simmons
2016-07-28  6:34   ` [9fans] Virtual Box 5.1 and Plan 9 Matthew Veety
2016-07-28  8:36     ` hiro
2016-07-28 10:38     ` Peter Hull
2016-07-28 13:37       ` cinap_lenrek

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=8e03800a4e1267b281b551eed76019f6@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /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).