From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: In-Reply-To: From: Cyber Fonic Date: Fri, 26 Jul 2019 22:12:43 +1000 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary="00000000000090c910058e9476bc" Subject: Re: [9fans] Plan 9 C compiler for Xtensa CPUs Topicbox-Message-UUID: 03117692-eada-11e9-9d60-3106f5b1d025 --00000000000090c910058e9476bc Content-Type: text/plain; charset="UTF-8" Does anybody have any suggestions as to what it would take to create a C compiler for Xtensa (it is basically a 32 bit sorta-like RISC architecture)? Since C compilers do exist for Xtensa (both Arduino and ESIF) , is it at all possible to port Plan 9 C compilers using a "host" compiler as a semi-bootstrap? Or would it be more effectively to use an existing Plan 9 system, grab the sources for a similar compiler, e.g. MIPS and start building a Xtensa / ESP-32 specific one? On Fri, 26 Jul 2019 at 20:31, Charles Forsyth wrote: > I was thinking of doing that since I've got an ESP-32 for some reason > > On Fri, Jul 26, 2019 at 7:38 AM Cyber Fonic wrote: > >> I was reading the post Why Didn't Plan 9 Succeed >> on Hacker News. >> >> Made me think that Plan 9 for IoT system of systems could be viable. >> >> To that end, ESP-32 modules look capable enough to run Plan 9, but is >> there a Plan 9 C compiler for Xtensa ISA CPUs? >> >> --00000000000090c910058e9476bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Does anybody have any suggestions as to what it would take= to create a C compiler for Xtensa (it is basically a 32 bit sorta-like RIS= C architecture)?

Since C compilers do exist for Xtensa (= both Arduino and ESIF) , is it at all possible to port Plan 9 C compilers u= sing a "host" compiler as a semi-bootstrap?

<= div>Or would it be more effectively to use an existing Plan 9 system, grab = the sources for a similar compiler, e.g. MIPS and start building a Xtensa /= ESP-32 specific one?


I was reading the post=C2=A0Why Didn't Plan 9 Succeed=C2=A0= on Hacker News.

Made me think that Plan 9 for IoT system= of systems could be viable.

To that end, ESP-32 m= odules look capable enough to run Plan 9, but is there a Plan 9 C compiler = for Xtensa ISA CPUs?=C2=A0

--00000000000090c910058e9476bc--