Jim Posted December 26, 2003 Report Share Posted December 26, 2003 Hi, I read a "How To" on "Turning your Mandrake into a Gentoo" via recompiling you compiler to recompile your RPMs for your specific architecure ie I have a pentium3 & I would like to recompile my system for it. Any help would be much appreciated. Thanks Jim Quote Link to comment Share on other sites More sharing options...
bvc Posted December 26, 2003 Report Share Posted December 26, 2003 (edited) If you're referring to the one here on the board I can't recall where exactly and our search function bites but I think it was in Tips and Tricks but there's a lot of those missing which I think happened in the mv here from the old server.....ooops. http://www.mandrakeusers.org/index.php?sho...t=0entry19757 follow the gentoo order or look at the LFS HOWTO and go down the list, I guess. Why not just try gentoo? Or how about arch? ....and welcome to the board! Oh, and http://www.mandrakeusers.org/index.php?showtopic=4516 Edited December 26, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
mystified Posted December 26, 2003 Report Share Posted December 26, 2003 Hope this helps http://www.mandrakeusers.org/index.php?showtopic=1291 Quote Link to comment Share on other sites More sharing options...
Jim Posted December 27, 2003 Author Report Share Posted December 27, 2003 Many thanks for your replies, and yes I think the artical was lost with the upgrade, but now I have an idea of what is required to do. Cheers Jim Quote Link to comment Share on other sites More sharing options...
Bam Posted December 29, 2003 Report Share Posted December 29, 2003 I found the article I think you are looking for on an old backup. Downloaded it a while ago, but never tried it. Here is a link to the PDF. I'll leave it up for a couple of days for anyone that wants to grab it. Mandrake ala gentoo. Quote Link to comment Share on other sites More sharing options...
Peppercorn Posted January 3, 2004 Report Share Posted January 3, 2004 I followed the link and advice in that article and it all works perfectly! Can someone tell me if I have this right please??? When you compile the source RPM's, are the resulting rpm's actually "designed" for you computer and hardware?? Is this what this process achieves? Therefore the computer will be much more stable and faster?? Is this right?? Thanks for any light shed on this. Quote Link to comment Share on other sites More sharing options...
Ixzat Posted January 7, 2004 Report Share Posted January 7, 2004 (edited) Thats a nice document but i cant seem to find rpmbuild on my system. The only two references i have on my installation is: /usr/lib/librpmbuild-4.2.so /usr/share/man/man8/rpmbuild.8.bz2 So where can i download rpmbuild? EDIT: Nevermind... my fault for not looking around enough... found it and installed it... Edited January 7, 2004 by Ixzat Quote Link to comment Share on other sites More sharing options...
beesea Posted January 7, 2004 Report Share Posted January 7, 2004 When you compile the source RPM's, are the resulting rpm's actually "designed" for you computer and hardware?? Is this what this process achieves?Therefore the computer will be much more stable and faster?? Is this right?? yup, that's pretty much what this process does. i also run gentoo on my machine and its noticeably faster than mandrake, so i can tell you that, from my own experience, this does can a difference. the "optflags" values (which are mostly just CFLAGS) that you set in ~/.rpmrc tell gcc to compile the program such that it is optimized specifically for the machine you specify. the way i understand it is that this creates faster code and smaller binaries (probably because the compiler doesn't have to be as general). Quote Link to comment Share on other sites More sharing options...
johnnyv Posted January 8, 2004 Report Share Posted January 8, 2004 You may also be interested in these links: http://www.obulous.org/index.pl/mandrake_a...n_optimizations http://home.comcast.net/~jcunningham63/lin...timization.html Quote Link to comment Share on other sites More sharing options...
Peppercorn Posted January 9, 2004 Report Share Posted January 9, 2004 Hey Thanks for the replies!!! May I ask another possibly stupid question??????????????? If I was to dl a kernel src rpm. Can I recompile it in the same way as I would a program RPM??? This may be way off but I am trying to work myself out of the newbieville haze! Quote Link to comment Share on other sites More sharing options...
beesea Posted January 9, 2004 Report Share Posted January 9, 2004 all the kernel-source rpm does is install the source into /usr/src. its not an actual src.rpm file. check out the kernel howto at tldp.org Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.