Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
Switch branches/tags
Nothing to show
Clone or download
6by9 and popcornmix host_apps: Add --no-as-needed to stop libmmal_vc_client being dropped
Some versions of GCC have --as-needed turned on by default.
The binding of libmmal_vc_client is such that the constructor
registers the supported components with the MMAL core, and nothing
calls into it directly. The linker can't tell this, decides
it is unused, and promptly drops it as a dependency - cue no
VideoCore components.

Adding --no-as-needed means that the linker leaves it alone.
It's not nice, but there doesn't appear to be a better solution.

See #178.
Latest commit d491937 Mar 19, 2018

This repository contains the source code for the ARM side libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib and includes source for the ARM side code to interface to: EGL, mmal, GLESv2, vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG.

Use buildme to build. It requires cmake to be installed and an arm cross compiler. It is set up to use this one:

Note that this repository does not contain the source for the edid_parser and vcdbg binaries due to licensing restrictions.