# DMD로 GDC 부트스트랩 성공: FreeBSD에서 GCC의 D 컴파일러를 쉽게 구축하다

Original title: Bootstrapping GDC with DMD

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

▲ 3 · by [LorenDB](<https://news.ycombinator.com/user?id=LorenDB>) · 💬 0
[original](<https://briancallahan.net/blog/20260713.html>) · [HN discussion](<https://news.ycombinator.com/item?id=48898032>)

## Summary

FreeBSD에는 GDC(GNU D Compiler) 패키지가 없어 연구용으로 사용하는 저자가 DMD를 이용해 GDC를 부트스트랩하는 방법을 공유합니다. GCC 문서는 GDC를 GDC로만 빌드해야 한다고 주장하지만, 저자는 모든 D 컴파일러가 공유하는 프론트엔드를 활용하면 DMD로도 충분하다는 것을 입증했습니다. 플래그 차이를 변환하는 간단한 래퍼 프로그램(gdc-wrapper)을 작성해 stage1 GDC를 성공적으로 빌드했으며, 이 방법은 FreeBSD 15에서 GDC 15.2.0과 16.1.0을 빌드하는 데 사용됐습니다.

## Key quote

> GCC 문서는 GDC를 빌드하려면 GDC가 필요하다고 주장하지만, 실제로는 DMD만으로도 충분합니다.

---

## Cite

- Page: https://zeli.app/ko/story/48898032
- Date: 2026-07-13
- Source: briancallahan.net (https://briancallahan.net/blog/20260713.html)
- Hacker News: https://news.ycombinator.com/item?id=48898032

## Other languages

- en: https://zeli.app/story/48898032 · markdown: https://zeli.app/story/48898032.md
- zh: https://zeli.app/zh/story/48898032 · markdown: https://zeli.app/zh/story/48898032.md
- ja: https://zeli.app/ja/story/48898032 · markdown: https://zeli.app/ja/story/48898032.md
- de: https://zeli.app/de/story/48898032 · markdown: https://zeli.app/de/story/48898032.md
- es: https://zeli.app/es/story/48898032 · markdown: https://zeli.app/es/story/48898032.md
