Edit: Almost five years later, this post still gets quite a bit of traffic. Today, you can get yourself a modern, ready made x86_64 cross-compiler, and associated binutils with a single command: brew install x86_64-elf-gcc Obviously you’ll need homebrew – which is available for (at least) macOS and Linux 🙂 This post might still beContinue reading “Using GCC as cross-compiler with x86_64 target”
Category Archives: C/C++
The voice-activated sandwich toaster!
TL;DR – We built a Wifi-capable four-way mains socket using a NodeMCU ESP8266 development board, some relays, and the Arduino libraries (but not their hardware). We coded it in C++, which you’ll find on GitHub.
Curb FFI – FFI port of Curb
In the meantime, I’ve also started work on porting (if that’s the right word) Curb to FFI, with a view to moving away from the existing C code.
Building Curb on Windows
As I mentioned in my previous post, I’m now working on Curb again, and currently on Windows. Back in 2006 when I wrote the original Curb, I wouldn’t go near a Windows box for religious reasons, and the project has never officially supported the platform. There are plenty of bugs and posts around about peopleContinue reading “Building Curb on Windows”