From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Andrew Simmons In-Reply-To: <8e03800a4e1267b281b551eed76019f6@quintile.net> Date: Fri, 29 Jul 2016 12:03:13 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8e03800a4e1267b281b551eed76019f6@quintile.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Any demand for a supported Windows version of p9port? Topicbox-Message-UUID: 96e0ae20-ead9-11e9-9d60-3106f5b1d025 Steve, thanks for the thoughtful reply. Your solution wouldn=E2=80=99t = work for me, but it obviously does for you, so go in peace. And the = answer to the question in my subject line is obviously =E2=80=9CNo=E2=80=9D= . > On Jul 28, 2016, at 10:49 PM, Steve Simon wrote: >=20 > I have a different approach. >=20 > Personally I have only command line utilities as I keep Plan9 as my = desktop (raspberry PI). >=20 > 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. >=20 > 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.=20 >=20 > 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. >=20 > e.g. >=20 > My windows box is called billy (after mr gates) and my plan9 one is = custard (nice with raspberry pies). >=20 > custard%=20 > 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%=20 > billy% make > mingw32-make -s - -C Debug Application.elf=20 > billy%=20 >=20 > 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. >=20 > 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. >=20 > This is all available if anyone wants it. >=20 > -Steve >=20