<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sat May 25, 2013 12:42 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sat May 25, 2013 12:42 am</pubDate>
  <lastBuildDate>Sat May 25, 2013 12:42 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>RE: I compiled my first kernel today... but...</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=24833#24833</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=133'&gt;jjmac&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Jun 03, 2006 12:40 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Howdy,&lt;br /&gt;
&lt;br /&gt;
I know it's a late post but thought it might still be useful  ...&lt;br /&gt;
&lt;br /&gt;
Make a bakup of the '.config' file that is generated and remove the 'dot' from the beginning of the name. When/if you do a 'make mrproper' all the files with 'dot' prefixes will be removed. That will allow you to reinvoke the configuration using an existing config file as a base. It will need to be copied to its' original 'dot' format first of course &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;. Handy, as it is a long configuration at the best of times, but from scratch it's even longer. It's a good idea to go over it a few times too, as there is a lot to consider and by saving that file you can go over the configuration again later or carry it over to further compiles.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
will gcc have automatically made use of the extended instruction sets available&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I think you must mean cpu features. The default config will be for a Pentium 3 i think, so, depending on what you set the processor type to, flags will be generated by configure for your cpu. You can also manually add things to 'CFLAGS' in the Makefile' . Best not to go to much the rats there, just an '-O2 -march=xxxx -tune=xxx' would do it. But that will basically be automated by the cpu selection anyway.&lt;br /&gt;
&lt;br /&gt;
One thing i think people miss though, if you look at the top of the Makefile, you will see a number of parameters that denote the kernel version. The 4th one ...&lt;br /&gt;
&lt;br /&gt;
EXTRAVERSION =&lt;br /&gt;
&lt;br /&gt;
is usually left blank, unless the distro has decided to use it, or a maintainer patch has been applied where it will be set with a string to denote the patch. Such as something like ...&lt;br /&gt;
&lt;br /&gt;
EXTRAVERSION = -ck11&lt;br /&gt;
&lt;br /&gt;
You can add to that manually ie;&lt;br /&gt;
&lt;br /&gt;
-ck11-0&lt;br /&gt;
-ck11-1&lt;br /&gt;
-ck11-something&lt;br /&gt;
&lt;br /&gt;
You end up with a total version string like 2.6.16-ck11-something.&lt;br /&gt;
&lt;br /&gt;
If you append that to the kernel name and the System.map files before copying them over to /boot, you can have multiple compiles of the same kernel available. In case you want to test some option variations,&lt;br /&gt;
&lt;br /&gt;
 such as ...&lt;br /&gt;
&lt;br /&gt;
System.map-2.6.16-ck11-3&lt;br /&gt;
bzImage-2.6.16-ck11-3&lt;br /&gt;
&lt;br /&gt;
System.map-2.6.16-ck11-4&lt;br /&gt;
bzImage-2.6.16-ck11-4&lt;br /&gt;
&lt;br /&gt;
You will need to select 'Y' for 'Local version - append to kernel release' in the 'General setup' config branch at the top of the config tree to get the mapping..&lt;br /&gt;
&lt;br /&gt;
I don't think the auto install covers that though, ( 'make install' )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jm</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=24833#24833</comments>
                                        <author>jjmac</author>
                                        <pubDate>Sat Jun 03, 2006 12:40 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=24833#24833</guid>
                                      </item>
                                      <item>
                                        <title>RE: I compiled my first kernel today... but...</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=23843#23843</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=1729'&gt;pins&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue May 23, 2006 8:06 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      ahhh... ok, it has changed to 'make xconfig'.....&lt;br /&gt;
now I just need to read and google all the options. ;p</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=23843#23843</comments>
                                        <author>pins</author>
                                        <pubDate>Tue May 23, 2006 8:06 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=23843#23843</guid>
                                      </item>
                                      <item>
                                        <title>I compiled my first kernel today... but...</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=23840#23840</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=1729'&gt;pins&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue May 23, 2006 8:04 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      will gcc have automatically made use of the extended instruction sets available, or do I have to specify this somehow?&lt;br /&gt;
I tried to run 'nake menuconfig' and it wouldn't, it printed errors from checklist.c and dialog.h about expected '=' or ';' or ':' or 'asm' before 'functionname'and expected ')' before '*'&lt;br /&gt;
I am looking into xmenuconfig (googling and seeing if there is a package for it)  as I remember this from mandrake, anyone know where to find this in suse 10.1?&lt;br /&gt;
The kernel forms the base of any dependancy tree, right? so if I start by building an optimised kernel, I should be able to work my way up from there?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=23840#23840</comments>
                                        <author>pins</author>
                                        <pubDate>Tue May 23, 2006 8:04 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=23840#23840</guid>
                                      </item></channel></rss>