> For the complete documentation index, see [llms.txt](https://laqieer.gitbook.io/gba-dev-best-practice/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laqieer.gitbook.io/gba-dev-best-practice/readme.md).

# 第1章 Hello World

{% embed url="<https://www.bilibili.com/video/BV1UL4y1x7qc>" %}

## 搭建GBA开发环境

安装 [devkitPro](https://devkitpro.org/wiki/Getting_Started) 或者 [gba-toolchain](https://github.com/felixjones/gba-toolchain)

## GBA工程

### 创建

从模板创建：

* 开发环境自带的模板
* [devkitPro + libtonc 的模板](https://github.com/exelotl/libtonc-template)

### 构建

`make` 或者 [cmake](https://cmake.org/cmake/help/latest/)

### 运行

[mGBA](http://mgba.io/) 或者烧录卡

## 求助

[社区](https://discord.io/gbadev)

{% file src="/files/EksLqGcjWY8FUaW1jANu" %}
