Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 00:21:21 -0700
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        "Andrew P." <infofarmer@gmail.com>
Subject:   Re: Which version of FreeBSD a binary was compiled for?
Message-ID:  <200510260021.21594.ringworm01@gmail.com>
In-Reply-To: <cb5206420510260001r5433f027t595611deb9659633@mail.gmail.com>
References:  <cb5206420510251524r32ddd9adx7d4fdce8f82a85be@mail.gmail.com> <20051026030537.GV18987@localdomain> <cb5206420510260001r5433f027t595611deb9659633@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 October 2005 00:01, Andrew P. wrote:
> On 10/26/05, Will Maier <willmaier@ml1.net> wrote:
> > On Wed, Oct 26, 2005 at 02:24:54AM +0400, Andrew P. wrote:
> > > How to tell? Apart from trying to launch it on different versions
> > > without COMPAT* in the kernel?
> >
> > file (1)
>
> I don't mean to push it, but how file would ever help
> me to know subj?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

Here is an example:

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

-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510260021.21594.ringworm01>