[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling from source



On Mon, Mar 11, 2002 at 12:19:42PM +1300, Corrin Lakeland wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>> [Compile from source]
>>
>> Question: does this really improve performance?
>
>A little. How much depends on the package.  Remember that maintainers will 
>compile with -O2 and other optimisations, so all you gain is arch specific 
>optimisations.  For some applications these might be as much as 5%.
>

5% isn't much for sitting around for hours while gnome compiles.  Currently its reinstalling itseld doing a bootstrap on my laptop.  Its been doing that for over 4 hours now.  

>The real benefit is you can pass configure extra options without losing the 
>advantages of a centralised software database.
>
So can you get a real performance improvement?  By real I mean noticeable?

>> If compiling locally does improve
>> performance, is there a way I can use these src urls to do it within
>> Debian?
>
>Yes, but it isn't as easy as portage.  You can use the program turtle (the 
>Hurd autobuilder) to automatically download and recompile software you want.  
>It will effectivly create a local mirror of a remote repository where 
>everything in that mirror is compiled locally. It wouldn't be hard to script 
>it to do the equivilant of a dist-upgrade each night.
>

I'll complete the installation and then try it for a week.  My current impression is that its more trouble than its worth.  But patience is not one of my virtues.  Also its worth saying that anyone who considers the Debian installer to be rough should try Gentoo.  Basically, you boot from a CD, create your partitions, chroot into the installtion directory and do everything from the command line.  Not a dialog box to be seen.  Still, mustn't grumble as its worked so far...

>You'll run into a few hassles when installing new software since your 
>sources.list will point to file://.
>
>Corrin
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6d-cvs (GNU/Linux)
>
>iD8DBQE8i+uui5A0ZsG8x8cRArsQAJ9g3IV0lfhju54n4FibyUWPIgCZnwCgm7Ci
>JyKrm9ihTCo5AaQniegKtnM=
>=rU5O
>-----END PGP SIGNATURE-----



Reply to: