# Oscar Toledo G. Ports His 1998 Transputer C Compiler to a 64-bit MacBook Air M1

Original title: Making portable my unportable transputer C compiler

> Hacker News story 49795600 · language: en · submitted 2026-09-22
> Web version: https://zeli.app/story/49795600
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 73 · by [nanochess](<https://news.ycombinator.com/user?id=nanochess>) · 💬 11
[original](<https://nanochess.org/transputer_c_compiler.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49795600>)

## Summary

Oscar Toledo G. found a 1998 floppy disk containing his transputer C compiler and set out to compile it on a modern 64-bit MacBook Air M1. The code, inherited from Small-C, used int and pointers interchangeably, lacked FILE* and prototypes, and stored pointers in int arrays. Through struct rewrites, backporting from his Am29000 compiler, and translating error messages, he reduced the errors to 25, then 8, then 5.

## Key quote

> But now it is impossible to convert a 64-bit pointer into a 32-bit integer. A design change is required!

## HN discussion (11 comments)

### [RodgerTheGreat](<https://news.ycombinator.com/item?id=49826380>)

> It's always a delight to read about your projects, Oscar. Every program is a jewel.

### [initramfs](<https://news.ycombinator.com/item?id=49826414>)

> how does a debug file output 8GB+? Is it running for minutes/hours? Or is it in a format that uses a lot of rich text? I would assume a text file in hex or unicode wouldn't use very much.. Is there a way to create intervals of log files so they have a cap on the size?

---

## Cite

- Page: https://zeli.app/story/49795600
- Date: 2026-09-22
- Source: nanochess.org (https://nanochess.org/transputer_c_compiler.html)
- Hacker News: https://news.ycombinator.com/item?id=49795600

## Other languages

- zh: https://zeli.app/zh/story/49795600 · markdown: https://zeli.app/zh/story/49795600.md
- ja: https://zeli.app/ja/story/49795600 · markdown: https://zeli.app/ja/story/49795600.md
- ko: https://zeli.app/ko/story/49795600 · markdown: https://zeli.app/ko/story/49795600.md
- de: https://zeli.app/de/story/49795600 · markdown: https://zeli.app/de/story/49795600.md
- es: https://zeli.app/es/story/49795600 · markdown: https://zeli.app/es/story/49795600.md
- ru: https://zeli.app/ru/story/49795600 · markdown: https://zeli.app/ru/story/49795600.md
