LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-14-2004, 01:16 PM   #1
jimmyz74
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, 03:45 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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

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

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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, 04:15 PM   #4
comp12345
Member
 
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.
Code:
apt-build world
is suppose to function like "make buildworld."

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


Reply


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 12:00 PM
Bootstrapping Debian for i686 gamehack Debian 1 08-26-2004 04:45 AM
i686 Debian port tmp123 Debian 1 03-22-2004 06:15 PM
i686 Debian port tmp123 Debian 1 03-22-2004 06:14 PM
how do i recompile for i686? yowwww Linux - Software 4 07-24-2003 09:54 AM


All times are GMT -5. The time now is 06:36 AM.

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