All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Guide: Using Custom Cross Compilers with Nix Package Manager

By

todsacerdoti

5mo ago· 7 min readen

Summary

This technical guide explains how to use a custom cross compiler with the Nix package manager, specifically for targeting the Risc OS operating system. The author shares their journey of overcoming undocumented challenges to get cross-compilation working with Nix, providing practical solutions for developers working with unusual or legacy systems. The post serves as a tutorial to help others save time when setting up cross-compilation environments for niche platforms.

Key quotes

· 3 pulled
This post is about trying to do something seemingly simple. You have an unusual system that you want to write code for. You even have a cross compiler! But how can you get this working with nix?
Although the answer turned out to be simple, the journey to getting there was super long and undocumented. I hope this post saves you a lot of time!
I have a deep love for an operating system called Risc Os. It is a really old operating system made by Acorn Computers Ltd. for their Archimedes range of computers and you can still run it
Snippet from the RSS feed
How to use a custom cross compiler with nix

You might also wanna read