28 May 2024 to 1 June 2024
University of Ottawa
EST timezone

Hot cross builds: cross-compilation in pkgsrc

31 May 2024, 11:15
1h
Desmarais 1130 (University of Ottawa)

Desmarais 1130

University of Ottawa

Lecture 50 min Development Talks: Room 1130 - Friday

Speaker

Taylor Campbell (The NetBSD Foundation)

Description

Building custom packages for a powerpc or mips network appliance that's too painfully small to build anything itself? With pkgsrc, the customizable cross-platform packaging system from NetBSD, you can cross-build from a large repository of packages on your beefier laptop, workstation, or server instead -- and not just across architectures, but soon across operating systems too.

pkgsrc will automatically handle natively building toolchain packages needed as dependencies to cross-build packages, so you don't have to fuss with manually assembling all the parts of a cross-compiler toolchain in advance. Most packages require relatively little work to adapt to cross-builds.

This talk will discuss the state of cross-compilation in pkgsrc:

  • how to use it,
  • how to adapt recalcitrant packages to it,
  • architecture, limitations, and comparison to alternative approaches,
  • and upcoming work.

Primary author

Taylor Campbell (The NetBSD Foundation)

Presentation materials

There are no materials yet.