Strategy: Leverage the package manager to specify the compiler
8
Building ZLIB, macOS example
9
Strategy 2: Package your compiler toolchain up
10
Executable dependencies
11
Strategy: requirements for build-time executables
12
Library and executable combos
13
Strategy: same requirement in both contexts
14
Strategy: split packages for executable and library
15
"Sysroot" and system libraries on Linux
16
"Sysroot" on embedded Linux - caveats
17
Strategy: package the root filesystem
18
Ready to build our own code!
19
Closing remarks
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore cross-building strategies for C++ projects in the era of package managers through this CppCon 2022 conference talk. Delve into the challenges of building applications for embedded devices and ARM processors, and learn how to leverage modern C++ package managers like Conan and vcpkg to simplify cross-compilation workflows. Discover practical strategies for handling dependencies, compilers, and system libraries across different platforms. Gain insights into optimizing build processes for Raspberry Pi, NVIDIA Jetson, and ARM-based macOS and Windows systems. Follow along with a practical demonstration of cross-building an existing application using familiar tooling, and understand how these techniques can save time and streamline development for various target architectures.
Cross-Building Strategies in the Age of C++ Package Managers - Lecture