Which version of FreeBSD a binary was compiled for?
    Andrew P. 
    infofarmer at gmail.com
       
    Wed Oct 26 08:18:28 PDT 2005
    
    
  
On 10/26/05, Robert Huff <roberthuff at rcn.com> wrote:
>
> 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
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
I tried both versions of file (base system and ports)
on 6.0 RC1, none showed any info about that
/usr/bin/man (or any other system binary I tried).
On my firewall (5.4) it works.
    
    
More information about the freebsd-questions
mailing list