Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-14-2004, 02:16 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Question What is the simplest way to recompile Mandrake/SUSE/Debian for i686?

What is the simplest and easiest way to recompile Mandrake/SUSE/Debian for the i686 instruction set? Is there some magical script or program that does it all in 1 step?
Old 08-14-2004, 04:45 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
the best way is to get the config script of the kernel which is presently working for you. it is generally in the /boot directory.
then install the required modutils and initscripts packages and do have a look at the
newbie guide to kernel compilig by Dr Ozz at the linuxquestions general section

Old 08-14-2004, 04:48 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Not that I know of -- sadly I've never seen a Linux equivalent for the 'make buildworld' from the BSDs. Recompiling the whole OS is going to be tricky. My advice would be to get all the source RPMs for your system, change the spec files to include whatever architecture-dependant compile options you want, rpmbuild them, and the rpm -Uvh the resulting binary RPMs. This is going to be long and tedious, and in all honesty, you're probably not going to see massive performance gains (except maybe with some multimedia apps that could take advantage of the new multimedia instructions -- maybe best to just stick with them).
Old 08-14-2004, 05:15 PM   #4
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
For Debian, there is auto-apt and apt-build. auto-apt checks for files missing and installs them on demand. So if you are compiling a program and you get an error saying it needs the gtk development library files, auto-apt will install them automatically. apt-build is a front-end to build, optimize and install packages. It is supposed to make it easy to install packages from source in much the same way emerge does for Gentoo. When I tried it several months ago, some packages failed to build. I haven't used it since then so I don't know if the bugs have been worked out.
apt-build world
is suppose to function like "make buildworld."

Last edited by comp12345; 08-14-2004 at 05:17 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile Kernel SRPM athlon or i686 ? lets-eat-gary Mandriva 1 12-23-2004 01:00 PM
Bootstrapping Debian for i686 gamehack Debian 1 08-26-2004 05:45 AM
i686 Debian port tmp123 Debian 1 03-22-2004 07:15 PM
i686 Debian port tmp123 Debian 1 03-22-2004 07:14 PM
how do i recompile for i686? yowwww Linux - Software 4 07-24-2003 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration