Which version of FreeBSD a binary was compiled for?
dpk at dpk.net
Thu Oct 27 12:20:35 PDT 2005
On 10/27/05, Will Maier <willmaier at ml1.net> wrote:
> Must be -- some flag produces unique bits in the executables. I'm a
> little surprised there isn't (AFAICT) anything descriptive in
> file(1)'s manpage or /u/s/mi/magic that would explain the
> discrepancy. Didn't see anything in quick looks through gcc(1) or
> make(1), either.
It doesn't look like it's done in the magic file. Rather, it's
something built in to file itself. Check out around line 400 of
This doesn't explain how it gets in to the binaries built, though.
More information about the freebsd-questions