News for hackers. Stuff that matters.
Re:Your First THINK C Program by ur-whale on Thursday March 26, 2020 @04:45PM (#22697810)
cfg/CNFGRAPI.h:10:9: fatal error: Cocoa/Cocoa.h: No such file or directory

also:

./setup_t -t xl64 >setup.sh Unknown value for -t

attention to details indeed.

[edit]: I assume this'll only work on a Mac. Too bad, looked fun.

Re:Your First THINK C Program by gryphel on Thursday March 26, 2020 @09:53PM (#22699857)
The Mini vMac download page (https://www.gryphel.com/c/minivmac/dnld_std.html) includes binaries for Macintosh, Windows, Linux, and other platforms.

As recently noted in the build documentation, compiling it yourself is not recommended for most people. (First, the result will be much less efficient than the official binary unless you tweak things for your particular compiler. Second, there is the chance of running into compiler bugs and bugs in Mini vMac that show up only on some compilers - the official binaries are much better tested.)

Re:Your First THINK C Program by RodgerTheGreat on Thursday March 26, 2020 @10:06PM (#22699927)
Quite reasonable. I've edited the footer section with a callout to these recommendations and appropriate links.
Re:Your First THINK C Program by jchw on Thursday March 26, 2020 @04:57PM (#22697919)
I haven’t tried it but the bottom portion of the article seems to suggest you need some slight tweaks depending on your host OS, Linux apparently should work fine.
Re:Your First THINK C Program by skocznymroczny on Thursday March 26, 2020 @05:56PM (#22698396)
Unfortunately this is something I see with many articles or open source projects. The building instructions are only for Linux (usually apt-get some packages and run configure/make). For Windows? Good luck, at most you'll get some nasty MSYS setup to follow.
Re:Your First THINK C Program by cxr on Saturday March 28, 2020 @11:40AM (#22711736)
And you really shouldn't expect otherwise.

One of these is gratis and libre, and the other isn't. If you want to stand on that side with Windows and expect other people to help you out, then what you're asking for is for them to shell out money and a lot of effort for you. Whereas the reverse is not true; in comparison, the picture of a Windows user having to get access to a FOSS toolchain for themselves looks trivial—and with the abundance of ready-made system images that you can spin up without even having to reboot your computer, it is.

"Windows user" is not an ADA-protected class.

Re:Your First THINK C Program by skocznymroczny on Saturday March 28, 2020 @05:04PM (#22714320)
I don't expect Windows support for all projects, but I consider having to install the whole Unix toolchain on Windows equivalent to telling a Linux user that Linux is supported, just run it through Wine and it works.
Re:Your First THINK C Program by cxr on Saturday March 28, 2020 @09:31PM (#22715638)
In that case, then boy, your criticism is really out of place. The entire article here is about running a classic Mac OS image so you can run a discontinued compiler.
Re:Your First THINK C Program by qayxc on Thursday March 26, 2020 @06:47PM (#22698768)
WSL should solve that handily.

I use it daily and test and compile my programs on both Windows and Linux.

On the other hand I also stay away from projects that don't use cross-platform build-systems like Ninja, or CMake. Shell scripts are sometimes incompatible even between different distributions and shells.

The worst offender (that I know of) by far is GNU Octave. On Windows they basically ship a snapshot of a Linux dev box (complete with the whole directory tree, compiler suite and everything) with userland binaries compiled for Windows. So much for being "cross-platform"...

Re:Your First THINK C Program by skocznymroczny on Saturday March 28, 2020 @11:15AM (#22711608)
WSL solving the issue on Windows is like telling a Linux user to "just use Wine".
Re:Your First THINK C Program by duskwuff on Thursday March 26, 2020 @05:12PM (#22698045)
"lx64", not "xl64". (Article has this wrong, but documentation sets it right.)
Re:Your First THINK C Program by RodgerTheGreat on Thursday March 26, 2020 @09:39PM (#22699783)
An unfortunate typo. Sorry about that; fixed.