by mr_gibbins · 4y ago · 0 comments
Of course it's Linux only, so means using WSL on my Windows laptop.
Managed to open the file, no instructions whatsoever for finding a compiler other than 'get the GCC one'. Okay. Found the mirror, downloaded it and just now reading the installation manual. Yes, it's a manual, basically. Two dozen prerequisite packages to install by hand before I do anything else.
It's guaranteed not to work on WSL so I'll have to spend an hour or two just getting a compiler up and running, that's assuming it works at all and I don't just have to fire up a Debian VM and start again.
I get C is hard, and is supposed to be hard, but it's like GNU are going out of their way to make this intentionally more difficult than it needs to be.
I don't know why anyone would say that. C remains a simple little language. It is programming, especially the kind C is used for, that is hard.
It's not a LaTeX file though, it's a TeXinfo file but since it includes the texinfo.tex file it shouldn't matter, you can run it like any plain TeX document. It uses texindex but that's included both in TeX Live and MikTeX, so you probably have it installed already. Just run on some kind of command line
> pdftex c.texi
> texindex c.cp
> texindex c.fn
> pdftex c.texi
> pdftex c.texi