<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: kernel information in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890051#M78113</link>
    <description>Side note:&lt;BR /&gt;&lt;BR /&gt;include/linux/compile.h:&lt;BR /&gt;&lt;BR /&gt;#define LINUX_COMPILER&lt;BR /&gt;&lt;BR /&gt;is your string.&lt;BR /&gt;&lt;BR /&gt;Created using:&lt;BR /&gt;&lt;BR /&gt;@echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2&amp;gt;&amp;amp;1 | tail -1`\" &amp;gt;&amp;gt; .ver&lt;BR /&gt;&lt;BR /&gt;in the kernel's core Makefile.&lt;BR /&gt;&lt;BR /&gt;Haven't tried it, but you might be able to get away with modifying the header file.&lt;BR /&gt;&lt;BR /&gt;The full string is in:&lt;BR /&gt;&lt;BR /&gt;init/version.c&lt;BR /&gt;&lt;BR /&gt;defined as:&lt;BR /&gt;&lt;BR /&gt;const char *linux_banner&lt;BR /&gt;&lt;BR /&gt;...  bkx ...</description>
    <pubDate>Wed, 29 Jan 2003 01:05:47 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2003-01-29T01:05:47Z</dc:date>
    <item>
      <title>kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890045#M78107</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;When I see the first line of dmesg in RedHat's kernel, it looks like &lt;BR /&gt;Linux version 2.4.18-10custom (root@localhost) (gcc version 2.96 20000731 (Red Hat Li&lt;BR /&gt;nux 7.3 2.96-110)) #1 Wed Sep 4 19:30:56 JST 2002&lt;BR /&gt;&lt;BR /&gt;But if I use the source from kernel.org shows diffrent output.&lt;BR /&gt;&lt;BR /&gt;If I want to change " (Red Hat Linux 7.3 2.96-110))" part, which file should I modify in kernel source?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 08:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890045#M78107</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2003-01-24T08:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890046#M78108</link>
      <description>/etc/release&lt;BR /&gt;/usr/src/linux/include/linux/version.h</description>
      <pubDate>Fri, 24 Jan 2003 09:05:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890046#M78108</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2003-01-24T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890047#M78109</link>
      <description>Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I found # gcc -v output looks like what I am looking for.&lt;BR /&gt;&lt;BR /&gt;$ gcc -v&lt;BR /&gt;Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs&lt;BR /&gt;gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)&lt;BR /&gt;&lt;BR /&gt;Does any one know this output is hard-coded in the kernel when kernel compile, or use current gcc -v output?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 10:29:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890047#M78109</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2003-01-24T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890048#M78110</link>
      <description>gcc -v</description>
      <pubDate>Fri, 24 Jan 2003 12:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890048#M78110</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2003-01-24T12:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890049#M78111</link>
      <description>recompile GCC.&lt;BR /&gt;&lt;BR /&gt;GCC, the Kernel, and a number of other 'major' projects remember the machine, time, and arch they were built upon.&lt;BR /&gt;&lt;BR /&gt;Is a pain in the ass, but there's not much else you can do.&lt;BR /&gt;&lt;BR /&gt;I've never seen anybody alter this after compilation.&lt;BR /&gt;&lt;BR /&gt;By the same token, I haven't really gone looking :P</description>
      <pubDate>Tue, 28 Jan 2003 21:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890049#M78111</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-28T21:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890050#M78112</link>
      <description>*blink* oh dear..&lt;BR /&gt;&lt;BR /&gt;and on the 3rd reading of the post, I understand what it was asking.&lt;BR /&gt;&lt;BR /&gt;*hides*&lt;BR /&gt;&lt;BR /&gt;See what a long weekend, and a day of the boards being down does to a person?&lt;BR /&gt;&lt;BR /&gt;Sorry.. just ignore these posts :)</description>
      <pubDate>Tue, 28 Jan 2003 23:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890050#M78112</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-28T23:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: kernel information</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890051#M78113</link>
      <description>Side note:&lt;BR /&gt;&lt;BR /&gt;include/linux/compile.h:&lt;BR /&gt;&lt;BR /&gt;#define LINUX_COMPILER&lt;BR /&gt;&lt;BR /&gt;is your string.&lt;BR /&gt;&lt;BR /&gt;Created using:&lt;BR /&gt;&lt;BR /&gt;@echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2&amp;gt;&amp;amp;1 | tail -1`\" &amp;gt;&amp;gt; .ver&lt;BR /&gt;&lt;BR /&gt;in the kernel's core Makefile.&lt;BR /&gt;&lt;BR /&gt;Haven't tried it, but you might be able to get away with modifying the header file.&lt;BR /&gt;&lt;BR /&gt;The full string is in:&lt;BR /&gt;&lt;BR /&gt;init/version.c&lt;BR /&gt;&lt;BR /&gt;defined as:&lt;BR /&gt;&lt;BR /&gt;const char *linux_banner&lt;BR /&gt;&lt;BR /&gt;...  bkx ...</description>
      <pubDate>Wed, 29 Jan 2003 01:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-information/m-p/2890051#M78113</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-29T01:05:47Z</dc:date>
    </item>
  </channel>
</rss>

