Re: gcc version package is compiled with

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2009-06-16 at 20:09 -0300, Gerardo Exequiel Pozzi wrote:
> Baho Utot wrote:
> > Is there any way to tell which version of gcc an executable is
> > compiled with?
> >
> >
> >
> Hello :)
> 
> Maybe can be a better way :) But this just works.
> 
> strings -a /the/file | grep -m1 GCC
> 
> Good Luck!

Seems to work, but only on binaries and libraries that have been
compiled against glibc. Libraries compiled against uclibc won't show
this information.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux