This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to know the kernel thread version


Hi Priya,

How to check the kernel thread version used for the perticular
cross-tool-chain like if u r using cross-tool-chain like
arm-linux-gcc-3.2.3 ---------how to find out that which kernel threads are
used to build the tool-chain

This is a question for the gcc mailing list (gcc@gcc.gnu.org) not the binutils mailing list.


The answer is that for a sufficiently new version of gcc you can just run it with the "-v" command line option. E.g. on my work machine:

  % gcc -v
  Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
  Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
  --infodir=/usr/share/info --enable-shared --enable-threads=posix
  --disable-checking --with-system-zlib --enable-__cxa_atexit
  --disable-libunwind-exceptions --enable-java-awt=gtk
  --host=x86_64-redhat-linux
  Thread model: posix
  gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

The thread model is the second to last line in the output.

Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]