Skip to content

v2 Binaries

Latest
Compare
Choose a tag to compare
@0x09 0x09 released this 21 Oct 02:13
· 1 commit to master since this release

Binaries for win32 and win64 (XP+), Darwin 10+ (OS X 10.6+), and Linux (musl libc static)

Changes

  • Incorporates a bugfix in the handling of corrupt v1 thumbnail entries
  • Adds version information via the -v command line option
    • This is a breaking change in the sense that files named "-v" can no longer be inspected without first terminating option parsing with --.

Build details

Vagrantfile definition for building the linux static and w32 cross compiled binaries, from within a git clone of the repo:

Vagrant.configure("2") do |cfg|
  cfg.vm.box = "archlinux/archlinux"
  cfg.vm.box_version = "20221015.94571"

  cfg.vm.provision 'setup', type: 'shell', inline: <<-SHELL
    sudo pacman -S --noconfirm mingw-w64 musl gcc

    cd /vagrant
    CFLAGS="-O2 -s -DVERSION_META=\\\"+$(git rev-parse --short HEAD)\\\""

    x86_64-w64-mingw32-gcc $CFLAGS -o jbfinspect-w32-x86_64.exe jbfinspect.c
    i686-w64-mingw32-gcc $CFLAGS -o jbfinspect-w32-i686.exe jbfinspect.c
    musl-gcc -static $CFLAGS -o jbfinspect-linux jbfinspect.c
SHELL
end

darwin build was done on bare metal using homebrew GCC.

All binaries were compiled with GCC version 12.2.0.