© Jan Newmarch 2017

Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_3

3. Compiling Programs for the Raspberry Pi

Jan Newmarch

(1)Oakleigh, Victoria, Australia

Every system has its own quirks when it comes to compilation. The RPi is no exception. This chapter looks at the process of compiling C code for the RPi.

Generic Information

Here is some general information:

  • The command arch gives the Linux idea of the CPU. On the RPi 2, it gives armv7l. According to the Arch Linux ARM ( http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2 ), this means “ARMv7l Cortex-A7 quad-core. […] The SoC is a Broadcom BCM2836.”

  • The file /etc/issue contains the information Raspbian GNU/Linux 7.

  • The file /etc/os-release contains ...

Get Raspberry Pi GPU Audio Video Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.