Which version of FreeBSD a binary was compiled for?

Will Maier willmaier at ml1.net
Thu Oct 27 11:52:00 PDT 2005


On Thu, Oct 27, 2005 at 11:36:18AM -0700, Micah wrote:
> In other words, it's not file that broken, but /every/ executable
> on the broken machine is broken.  Now why would that be?  A
> compiler flag or something?

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.

Weird.

-- 

o--------------------------{ Will Maier }--------------------------o
| jabber:..wcmaier at jabber.ccc.de | email:..........wcmaier at ml1.net |
| \.........wcmaier at cae.wisc.edu | \..........wcmaier at cae.wisc.edu |
*------------------[ BSD Unix: Live Free or Die ]------------------*



More information about the freebsd-questions mailing list