#!/usr/bin/perl use strict; use warnings; use FindBin; use lib "$FindBin::Bin"; use FindTypedefs; ## assume we're processing the source tree we're in # @ARGV should be top of install tree (or build tree on OSX) # and optional name of objdump program (for --host= etc builds) print_typedefs("$FindBin::Bin/../..", @ARGV); # XXX probably should have a help subroutine here.