Skip to content
Dave Vasilevsky edited this page Jun 2, 2014 · 1 revision

The mainline squashfs-tools only runs on Linux. This repo ports it to other OSes.

Common issues on different platforms

  • GMAKE: Build with gmake instead of make, installing gmake if necessary
  • GCC: Build with CC=gcc, installing gcc if necessary
  • NOXATTR: Build with XATTR_SUPPORT=0, no Linux-compatible extended attribute support available.
  • NOCPU: Can't auto-detect the number of CPUs available.

Ports maintained up to squashfs-tools 4.3, in the mac43 branch

  • Mac OS X: Everything works
  • FreeBSD: GMAKE, NOXATTR
  • NetBSD: GMAKE
  • OpenBSD: GMAKE, NOXATTR
  • DragonflyBSD: GMAKE, NOXATTR

Ports still on 4.2, in the mac branch

  • OpenIndiana: GCC, NOXATTR, install header-math package
  • Solaris: GMAKE, GCC, NOXATTR
  • QNX: GCC, NOXATTR, NOCPU
  • Hurd: NOXATTR, NOCPU
  • Haiku: NOXATTR, NOCPU
  • Windows/cygwin: Install make and gcc
  • Android: NOXATTR
    • Cross-compile using appropriate flags
  • Minix: CC, NOXATTR, NOCPU
    • No preemptive threads, build against pthreads by setting CPPFLAGS=-I/usr/pkg/include LDFLAGS=-L/usr/pkg/lib