This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: how to know the kernel thread version
- From: Nick Clifton <nickc at redhat dot com>
- To: Krishna Priya <krishna dot priya at sqlstar dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 31 Jan 2007 11:30:23 +0000
- Subject: Re: how to know the kernel thread version
- References: <53051.59.93.61.16.1169542371.squirrel@mail.sqlstar.com>
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