mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
d491937e8d2f5015c418cbc0c2793020aed4c8e5
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.
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: https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian
Note that this repository does not contain the source for the edid_parser and vcdbg binaries due to licensing restrictions.
Description
Languages
C
95.1%
C++
1.5%
OpenQASM
1.3%
Roff
1.2%
CMake
0.7%