This is a short tutorial on using the GNU toolchain for bare metal programming. The tutorial uses Qemu to simulate an ARM board, and provides instructions to test programs within the simulated machine. The following topics will be covered.
Writing assembly language programs
Using make for build automation
Writing linker scripts
Writing C Startup code
Using the C library
Inline Assembler
The tutorial is written in asciidoc. The asciidoc source is converted to DocBook and then rendered to HTML.
The instructions to build the documentation on Debian Jessie is given below.
# apt-get install openjdk-7-jre libsaxon-java libxslthl-java docbookxsl asciidoc imgsizer dia $ make
The official rendered version of the is book is available from http://www.bravegnu.org/gnu-eprog/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。