From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1310400339.71319.YahooMailClassic@web30908.mail.mud.yahoo.com> From: Jens Staal Date: Tue, 12 Jul 2011 07:50:34 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] GNU/Linux/Plan 9 disto Topicbox-Message-UUID: ff5d2594-ead6-11e9-9d60-3106f5b1d025 Would the the work already done on the Plan9 binary format and syscall mapping that has been made for the Glendix kernel be useful as "documentation" for implementing a Plan9 binary output in GCC? and in the other direction, would it be useful to make a Plan9 libc port to compile "real" Plan9 binaries with GCC on Linux? Would this be mutually more benefitial than the current P9P? I am waaay out of my league here so sorry if I say something stupid. 2011/7/11 Gorka Guardiola : > On Mon, Jul 11, 20he11 at 6:41 PM, Jens Staal wrote: >> Personally, I believe that a Plan9 target for a cross compiler might >> be more interesting. GCC already added support for the Plan9 dialect >> of C. If it also could be made to compile Plan9 binaries, it could be >> used for an alternative self-hosting distro as the one you envisaged. >> >> I am fully aware that this is quite herretic and probably not very >> interesting for mainline Plan9. >> > > Not a religion, whatever works for you. > > Notice though that the kernel and applications need > some more that only the extensions. All of it (including the > assembler) is written supposing caller save > and other inner specifics of kencc that would need to be dealt with > when compiling > for gcc. It would be a port, not only a recompilation. > > G. > >