Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-11-09 Thread erik quanstrom
I typically use CEC instead of a real serial console.- erik

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-11-09 Thread Lyndon Nerenberg
Brian L. Stuart writes: > Don't laugh. I actually have a VT-220 on my file server. You do a lot of manual code compiling and linking from the serial console of your file server, do you? Then you deserve all the pain that can possibly be inflicted upon you ;-) --lyndon

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-31 Thread Charles Forsyth
I was the one that replaced Alpha by ARM64 as 7 for Plan 9. On Wed, 31 Oct 2018 at 13:44, Ethan Gardener wrote: > On Tue, Oct 30, 2018, at 3:37 PM, Steve Simon wrote: > > > > There once was a vax port but i don’t know what its letter was. > > Well, 7 used to be Alpha. I remember someone being

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-31 Thread Ethan Gardener
On Tue, Oct 30, 2018, at 3:15 PM, Brian L. Stuart wrote: > On Tue, 10/30/18, Richard Miller <9f...@hamnavoe.com> wrote: > > > Is there a technical reason (beside fonts that do not cover them) not > > > to use a Unicode values for the first letter? > > > > They're a bit harder to produce on the

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-31 Thread Ethan Gardener
On Tue, Oct 30, 2018, at 3:37 PM, Steve Simon wrote: > > There once was a vax port but i don’t know what its letter was. Well, 7 used to be Alpha. I remember someone being very annoyed because he still had Alpha hardware when the Go team decided to use 7 for Arm64.

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-31 Thread Richard Miller
> That works but be careful running clean in /sys/src/9/pc after adding > the n letter to $OS in /sys/src/mkfile.proto. Hadn't thought of that. May also be a risk to nroff files ...

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Anthony Martin
Richard Miller <9f...@hamnavoe.com> once said: > How about i for rIscv32 and j for riscv64 (one more than i)? Or even e for riscv since it's the fifth letter in the alphabet. :) Let me know what you decide and I'll update my table. > I used n for nios2. na and aux/na commands are distinct, and

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Richard Miller
> never saw the nios2 community port, where is that? Now on 9p.io in /contrib/miller/nios.tar It's pretty old, probably needs some updating to fit with current libmach and cc. Also no floating point.

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Steve Simon
There once was a vax port but i don’t know what its letter was.

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Charles Forsyth
I used Ka/Kb/Kc (upper case) for my Fairchild Clipper port, but that doesn't work on case-insensitive file systems. I did once make the changes for unicode, but again there can be problems with non-Plan9 file systems, even now. On Tue, 30 Oct 2018 at 12:43, Ethan Gardener wrote: > On Tue, Oct

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Brian L. Stuart
On Tue, 10/30/18, Richard Miller <9f...@hamnavoe.com> wrote: > > Is there a technical reason (beside fonts that do not cover them) not > > to use a Unicode values for the first letter? > > They're a bit harder to produce on the keyboard. Especially if you're at a VT-220 on the console and can't

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Charles Forsyth
This was my old list for comparison .a ar(1) archive .b bc(1), limbo source .c C source .d dc(1) .e -- was efl .f fortran .g -- there was a gc? .h C include .i na(8) output .j .k ka, kc, kl .l lc(1), lex .m mc(1), limbo module source .n na(8) .o unix object files .p pascal source? .q qa, qc, ql

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Steve Simon
hi, i have long wanted the table of compiler letters an the binary dir names they relate to to be defined in a textfile somewhere (/lib/cpus maybe). currently there are bits in mkfiles and some hard coded tables in cpp and c86 etc. when i wrote mkmk i just added another copy of the same

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Ethan Gardener
On Tue, Oct 30, 2018, at 4:52 AM, Lucio De Re wrote: > > Is there a technical reason (beside fonts that do not cover them) not > to use a Unicode values for the first letter? Not a major reason, but at least one of Plan 9's build tools compares them as C chars, and would need to be fixed. I

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Richard Miller
> I just updated it with a suggestion for the RISC-V letters. How about i for rIscv32 and j for riscv64 (one more than i)? I used n for nios2. na and aux/na commands are distinct, and I wouldn't expect SYM53C8XX microcode and nios2 object code to appear in the same context. > Is there a

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-30 Thread Anthony Martin
Charles Forsyth once said: > I had a chart somewhere with the available non-unicode letters. I made one a few years ago. It's at http://pbrane.org/comp.html I just updated it with a suggestion for the RISC-V letters. Anthony

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-29 Thread Lucio De Re
On 10/29/18, Charles Forsyth wrote: > It's z because the Atmel AVR is the last thing you'd want to use. (As > usual, once you've got C going, it's ok, except for the design bugs.) Sadly, some of the Atmel kit I'd like to play with is no longer supported, the CPUs are nowhere to be sourced from

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-29 Thread Charles Forsyth
It's z because the Atmel AVR is the last thing you'd want to use. (As usual, once you've got C going, it's ok, except for the design bugs.) They were in the Berkeley mote, which we worked on years ago, later on custom hardware, but always with completely different software from Berkeley's. I had

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-29 Thread Lucio De Re
AVR, and if I were to weigh in I'd say that its presence in Inferno may justify you changing your choice. I guess Charles did precisely as you did, he probably ought to rename too, so that "z" can be kept as interim for the next architecture :-). Lucio. On 10/29/18, Richard Miller

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-29 Thread Richard Miller
> I think I have sources for the z[acl] suite somewhere. You make it > sound like maybe I should give them back to Charles > What architecture is that for? I picked 'z' for riscv hoping there wasn't a collision, but I can change it.

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-29 Thread Lucio De Re
I think I have sources for the z[acl] suite somewhere. You make it sound like maybe I should give them back to Charles :-). Lucio. On 10/28/18, Steve Simon wrote: > hi, > > also maybe of interest, charles ported the plan9 c compiler to the atmel > at32mega. i asked him for a copy but sadly the

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread Steve Simon
hi, also maybe of interest, charles ported the plan9 c compiler to the atmel at32mega. i asked him for a copy but sadly the project i had foundered. -Steve > On 28 Oct 2018, at 6:48 pm, David du Colombier <0in...@gmail.com> wrote: > > Richard Miller's RISC-V compiler suite is now available

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread hiro
On 10/28/18, Richard Miller <9f...@hamnavoe.com> wrote: > On Sat, 27 Oct 2018 at 19:45, hiro <23h...@gmail.com> wrote: >> >> never saw the nios2 community port, where is that? > > I presented it at IWP9 Madrid in 2011. Nobody seemed very interested > so I didn't put it on contrib. I can

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread David du Colombier
Richard Miller's RISC-V compiler suite is now available on 9p.io: % srv -nq tcp!9p.io sources /n/sources % ls -l /n/sources/contrib/miller/riscv.tar https://9p.io/sources/contrib/miller/riscv.tar -- David du Colombier

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread Charles Forsyth
He wants something I think that generates code that will run on unixy systems, and there isn't one, except in specialised ways. On Sun, 28 Oct 2018 at 14:20, Skip Tavakkolian wrote: > Inferno sources include kencc that build on the target os/arch. > > On Sun, Oct 28, 2018, 5:41 AM wrote: > >>

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread Skip Tavakkolian
Inferno sources include kencc that build on the target os/arch. On Sun, Oct 28, 2018, 5:41 AM wrote: > Richard Miller <9f...@hamnavoe.com> wrote: > > > That's for Plan 9 use. I should also configure a version to run on > > posix-type systems and put that on github. > > Is there a standalone

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread arnold
Richard Miller <9f...@hamnavoe.com> wrote: > That's for Plan 9 use. I should also configure a version to run on > posix-type systems and put that on github. Is there a standalone version of the Plan 9 C compiler for *nix for x86 / x86_64? I'm looking for something easy to bring up and install

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread Richard Miller
On Sat, 27 Oct 2018 at 19:45, hiro <23h...@gmail.com> wrote: > > never saw the nios2 community port, where is that? I presented it at IWP9 Madrid in 2011. Nobody seemed very interested so I didn't put it on contrib. I can resurrect a copy if you like.

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-28 Thread Richard Miller
On Sat, 27 Oct 2018 at 19:25, Sean Hinchee wrote: > Is the source code for this hosted anywhere publicly in a vcs or > similar? I'd love to peruse it. On 27/10/2018, Sean Hinchee wrote: > Is the source code for this hosted anywhere publicly in a vcs or > similar? I'd love to peruse it. >

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-27 Thread hiro
never saw the nios2 community port, where is that? On 10/27/18, Sean Hinchee wrote: > On 10/27/18 2:24 AM, Skip Tavakkolian wrote: >> Saw this go by on twitter; others here will find it interesting: >> >> https://www.geeklan.co.uk/files/oshug69-Miller-criscv.pdf >> >> discussion on Ycombinator

Re: [9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-27 Thread Sean Hinchee
On 10/27/18 2:24 AM, Skip Tavakkolian wrote: Saw this go by on twitter; others here will find it interesting: https://www.geeklan.co.uk/files/oshug69-Miller-criscv.pdf discussion on Ycombinator https://news.ycombinator.com/item?id=18308255 Is the source code for this hosted anywhere

[9fans] Plan 9 C compiler for RISC-V by Richard Miller

2018-10-27 Thread Skip Tavakkolian
Saw this go by on twitter; others here will find it interesting: https://www.geeklan.co.uk/files/oshug69-Miller-criscv.pdf discussion on Ycombinator https://news.ycombinator.com/item?id=18308255