# Building GCC 1.27: Running a 1988 Compiler on Modern Ubuntu

Original title: Building GCC 1.27 (2019)

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

▲ 17 · by [ciponi](<https://news.ycombinator.com/user?id=ciponi>) · 💬 2
[original](<http://kristerw.blogspot.com/2019/01/building-gcc-127.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49011834>)

## Summary

I successfully built GCC 1.27, the first version supporting x86, on a 64-bit Ubuntu system by adapting Mikhail Maltsev's patches. Despite challenges with system headers and debug formats, the ancient compiler works surprisingly well with modern tools. I documented the process of installing 32-bit support, configuring symbolic links, and performing a multi-stage build to verify the compiler's self-consistency.

## Key quote

> It is amazing how well things work – the modern assembler, linker, and debugger handles the code generated by GCC 1.27 without any problems.

---

## Cite

- Page: https://zeli.app/story/49011834
- Date: 2026-07-22
- Source: kristerw.blogspot.com (http://kristerw.blogspot.com/2019/01/building-gcc-127.html)
- Hacker News: https://news.ycombinator.com/item?id=49011834

## Other languages

- zh: https://zeli.app/zh/story/49011834 · markdown: https://zeli.app/zh/story/49011834.md
