Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling vs binary
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
cnicules
n00b
n00b


Joined: 05 Apr 2006
Posts: 3

PostPosted: Wed Apr 05, 2006 10:09 pm    Post subject: compiling vs binary Reply with quote

hi,

i have a filosofical problem for you and me: what is to gain in compiling locally and not using a binary package. Gain as in speed, dimension, bugs.

C
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Wed Apr 05, 2006 10:33 pm    Post subject: Reply with quote

System that fits your hardware:) And it is fast:) Highly configurable and you install only thinhs you need.

Last edited by kfiaciarka on Wed Apr 05, 2006 10:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Wed Apr 05, 2006 10:34 pm    Post subject: Reply with quote

Advantage:
You can custom tailor the binary you get to your needs. That includes the compiler feature optimisations but way more important are the thing you control via useflags. Deciding on a per package and a system wide basis which features you want in a certain package makes your system doing exactly what you want while leaving out all the stuff you don't want.
Leaving out things lowers the possibility of bugs affecting your system, too. So if the cups support in one package has bugs/problems, but you have no printer and therefore no cups enabled, it does not affect your system.

Disadvantage:
Compiling can take a lot of time.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Wed Apr 05, 2006 10:37 pm    Post subject: Reply with quote

You can compile all system from source and then via quickpkg backup it as binaries:) Next time it will take less time to install gentoo:)
Back to top
View user's profile Send private message
cnicules
n00b
n00b


Joined: 05 Apr 2006
Posts: 3

PostPosted: Sat Apr 08, 2006 2:42 pm    Post subject: Reply with quote

kfiaciarka wrote:
And it is fast:)


do you have some numbers of "it is fast"
Back to top
View user's profile Send private message
cnicules
n00b
n00b


Joined: 05 Apr 2006
Posts: 3

PostPosted: Sat Apr 08, 2006 2:50 pm    Post subject: Reply with quote

Teetante wrote:
Advantage:
You can custom tailor the binary you get to your needs. That includes the compiler feature optimisations but way more important are the thing you control via useflags. Deciding on a per package and a system wide basis which features you want in a certain package makes your system doing exactly what you want while leaving out all the stuff you don't want.
Leaving out things lowers the possibility of bugs affecting your system, too. So if the cups support in one package has bugs/problems, but you have no printer and therefore no cups enabled, it does not affect your system.

Disadvantage:
Compiling can take a lot of time.


the compiler flags are a good thing, but as what to install, i run debian/slackware on production systems for some year now, and didn't had problems.

or gentoo is mainlly for home user, easy users and not old sys admins (the ones that started on slakware 0.x, 1.x, no package management etc etc)
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Sun Apr 09, 2006 4:27 am    Post subject: Reply with quote

compiling is almost always better, but not because of cflags. My cflags are "-O -pipe". thats it, no extra optimization. never had a problem. optimization is mostly useless anyway. todays computers are so fast you cant even notice difference most of the time. The reason compilation is better than binary is that the package is compiled against your own system and libraries and not someone elses, hence it allowes you to discover problems with your system that binaries might not.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
Bols
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2004
Posts: 112

PostPosted: Sun Apr 09, 2006 12:40 pm    Post subject: Reply with quote

cnicules wrote:
kfiaciarka wrote:
And it is fast:)


do you have some numbers of "it is fast"

And after that, you'll tell us you don't 'work' for funroll-loops.org or something like that. :o
Back to top
View user's profile Send private message
Tatey
n00b
n00b


Joined: 18 Apr 2004
Posts: 37
Location: Brisbane, Australia

PostPosted: Sun Apr 09, 2006 4:07 pm    Post subject: Reply with quote

petrjanda wrote:
compiling is almost always better, but not because of cflags. My cflags are "-O -pipe". thats it, no extra optimization. never had a problem. optimization is mostly useless anyway. todays computers are so fast you cant even notice difference most of the time. The reason compilation is better than binary is that the package is compiled against your own system and libraries and not someone elses, hence it allowes you to discover problems with your system that binaries might not.


I agree, Gentoo and Arch (i686 binary-based) feel much the same in reference to speed and responsiveness. However, when using a binary-based distro, it's annoying having support for the kitchen sink when I only use the toilet. What I mean is, I'd like to think I can build my applications against the libraries that I use. In addition, use flags allow you to trim-down applications to suit your prefernces, such as compiling programs without xinerama if you have a single monitor. Ironically, as much as I am pro-source, I run Arch on my main desktop.
_________________
[ visit my website, tatey.com ]
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17854

PostPosted: Sun Apr 09, 2006 6:52 pm    Post subject: Reply with quote

Old, old topic. One thread is here: forums.gentoo.org/viewtopic-t-51446.html
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum