SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running openSUSE 10.2. I have got the 2.6.18.3 kernel. While checking out xconfig, I came across a section called Processor Type or something along those lines. In the list of options in this section, there is an option for AMD64.
My problem is when I had got this suse distro on the CDs, I had downloaded the 32bit version. Can I select the AMD64 option while compiling the new kernel? I will be replacing the current kernel with this one. Will the older programs run correctly if I do this?
MY config is:
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Yes, you can change the processor type. I have for example Slackware (32bit) running with an AMD64 processor. Software will be compiled as 32 bit, although I changed it to AMD64, as long as you don't change the flags during configuration/compilation.
Will selectintg AMD64 make any real difference in the performance?
Quote:
Software will be compiled as 32 bit, although I changed it to AMD64, as long as you don't change the flags during configuration/compilation
Which flags do I need to change? IM sorry but im just starting off with this. Also, after I change the flags and everything, will the new kernel will be the same as it is in the 64bit version of openSUSE? Or will I have to replace the current 32bit packages with 64bit ones?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
It should make a difference, but the question is if you can notice it. To be honest I would have to measure times for several tasks -- with my usual tasks I cannot notice much speed gain if any.
Not sure about the flags. On Slackware it seems to be SLKCFLAGS="-O2" for AMD64 and something like SLKCFLAGS="-O2 -march=i486 -mtune=i686" for an i486 compatible but i686 optimized package. But I think this is not the core -- if you take a simple piece of software (for example take the source of a simple library) and do "./configure --help" it tells you about --host --target and --build options of the compiler. See http://www.linuxquestions.org/questi...d.php?t=509739 for this. I guess what you are looking for is cross-compiling. And I think this is not so easy because you will need 64bit libraries as well AFAIK, like building a 64 bit system from scratch
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.