From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d190803091057g6f42673cmdb66f55853e1f6c2@mail.gmail.com> Date: Mon, 10 Mar 2008 04:57:41 +1100 From: "Bruce Ellis" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] GCC/G++: some stress testing In-Reply-To: <200803091753.m29HraqB004333@skeeve.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803091753.m29HraqB004333@skeeve.com> Topicbox-Message-UUID: 7416ef2c-ead3-11e9-9d60-3106f5b1d025 and take it all in. gcc texi is larger than the kenc source. i know which is easier to read. brucee On Mon, Mar 10, 2008 at 4:53 AM, Aharon Robbins wrote: > > I really find it hard to believe that the best intellects in computing > > are incapable of stemming the tide. > > I'm not sure they're aware it's an issue (CS professor and research types). > > > As for P9GCC, its scope fairly exceeds (this) one person's > > capabilities. Just looking at "binutils" and "bfd", without having > > the slightest idea what their real intent might be and how to apply it > > to P9GCC, then finding wonderful snippets such as > > Binutils are the things for dealing with binaries: as, ld, nm are > the primary ones. They're built on top of BFD (Binary File Descriptor) > which is essentially an object-oriented way of looking at object > file formats; the tools can be configured to be cross platform > and even convert an object file in say, a.out format to COFF or > from COFF to ELF, and so on. > > GDB uses the same framework so that it can be cross-platform > debugger. > > I suspect you need to teach the binutils ('as') how to write the Plan 9 > object file format, but it may be enough to teach GCC how to write > Plan 9 x86 assembler and then assemble it. > > > Nevermind having > > to use my NetBSD server to read it and needing to learn a whole new > > documentation reading package to do it. > > The 'info' reader is nothing to write home about, although the Texinfo > documentation language is one of the best markup languages I've ever > used. (I've written whole books in troff, Docbook SGML / XML and Texinfo, > and I'd take Texinfo any day.) > > The best way to read Texinfo doc is to run > > makeinfo --no-split --hmtl file.texi > > which produces one gignatic HTML file from the Texinfo source, and > then use a web browser to read it. > > Another alternative is to use texi2pdf and then use a PDF viewer, > but I suspect that HTML will meet your needs the best. > > Hope this helps, > > Arnold >