Which version of FreeBSD a binary was compiled for?
Robert Huff
roberthuff at rcn.com
Wed Oct 26 07:59:33 PDT 2005
Andrew P. writes:
> > file /usr/bin/man
> >
> > on my machine outputs:
> >
> > /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1
> > (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically linked
> > (uses shared libs), stripped
>
> Oh, it's just that file hasn't leared anything about
> FreeBSD 6 yet, so it doesn't display version info
> when run against my binaries.
Curious.
huff@> file /usr/bin/man
/usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 7.0 (700003), dynamically linked (uses shared libs), stripped
huff@>
Robert Huff
More information about the freebsd-questions
mailing list