POV-Ray : Newsgroups : povray.off-topic : Compiling stuff Server Time
30 Sep 2024 11:17:29 EDT (-0400)
  Compiling stuff (Message 21 to 30 of 283)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: nemesis
Subject: Re: Compiling stuff
Date: 8 Dec 2008 14:45:00
Message: <web.493d788b80411eecdaf6be9f0@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> >> Do you have *any idea* how long it takes to compile the Linux kernel? I
> >> mean, damn, how *big* is it?? I thought the final binary was only a few
> >> KB in size...
> >
> > Usually 8-10 minutes IME.
>
> Exactly. "Normal" programs take less than 4 *seconds* to compile! o_O

An OS kernel is not hello world where all the libs are already compiled.  A
kernel is pretty much a program and its own libs, plus any device drivers and
more.

Have you ever tried to compile a compiler, BTW?  Like GCC or GHC?  come back
when you do.

In the comics, I like it how the hair grows on the kid.  Indeed, it happened to
a friend.  I think he thought the point of Linux was to have fun compiling
everything by hand.  He gave up once he had already recompiled the kernel and
installed Microsoft fonts in X.  No more fun I guess... :P


Post a reply to this message

From: Darren New
Subject: Re: Compiling stuff
Date: 8 Dec 2008 15:04:58
Message: <493d7dea$1@news.povray.org>
Jim Henderson wrote:
> Driver support beyond what's in your shipping kernel.

I've added drivers that didn't need a kernel recompile. Admittedly, I don't 
think they showed up in the file system as such (i.e., they didn't show up 
in /dev), but I didn't need that.

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

From: Darren New
Subject: Re: Compiling stuff
Date: 8 Dec 2008 15:06:33
Message: <493d7e49$1@news.povray.org>
Invisible wrote:
> Since even quite "large" programs take only a few seconds to compile, 

You're making me nostalgic for the days of 45-minute link times *after* you 
compile to get a program that fit on a 360K floppy disk. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   The NFL should go international. I'd pay to
   see the Detroit Lions vs the Roman Catholics.


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:06:58
Message: <493d9a82$1@news.povray.org>
nemesis wrote:
...
> Have you ever tried to compile a compiler, BTW?  Like GCC or GHC?  come back
> when you do.
...

If he is using Gentoo, then maybe he has done that already.

-- 
Tor Olav
http://subcube.com


Post a reply to this message

From: Warp
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:28:19
Message: <493d9f82@news.povray.org>
Mueen Nawaz <m.n### [at] ieeeorg> wrote:
>         I don't do it often - probably 1-3 times a year.

  I really can't understand why some people seem to be constantly compiling
the linux kernel.

  Guess how many times I have compiled the linux kernel in my life.

-- 
                                                          - Warp


Post a reply to this message

From: Stephen
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:29:28
Message: <tt7rj4ls51bnntq1ck2e646fkr1pemm997@4ax.com>
On 8 Dec 2008 17:28:19 -0500, Warp <war### [at] tagpovrayorg> wrote:

>Mueen Nawaz <m.n### [at] ieeeorg> wrote:
>>         I don't do it often - probably 1-3 times a year.
>
>  I really can't understand why some people seem to be constantly compiling
>the linux kernel.
>
>  Guess how many times I have compiled the linux kernel in my life.

The one time you did it correctly?
-- 

Regards
     Stephen


Post a reply to this message

From: Warp
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:36:06
Message: <493da155@news.povray.org>
Mueen Nawaz <m.n### [at] ieeeorg> wrote:
>         8-10 minutes is not that long.

  Unless I'm remembering incorrectly, I think one common complaint in
the "big" industry about gcc is that it's a relatively slow compiler.
When you have millions of lines of code, and regardless of all the effort
you have put into minimizing the number of dependencies, there may still
be so many dependencies that even small changes to certain files can cause
enormous amounts of compilation. We are talking about hours at worst.

  This can certainly be a real pain if you are simply developing and
debugging the software rather than compiling the release version of it,
so compiling speed is in this situation much more important than the
quality of the generated code, and AFAIK gcc just isn't up to the task
in enormous projects because it's so slow.

  (OTOH, I have never read any benchmarks about the compilation speed of
different compilers, commercial and free. That would be an interesting read,
in fact.)

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:37:11
Message: <493da196@news.povray.org>
Stephen <mcavoysAT@aoldotcom> wrote:
> >  Guess how many times I have compiled the linux kernel in my life.

> The one time you did it correctly?

  I haven't compiled it even once.

-- 
                                                          - Warp


Post a reply to this message

From: Orchid XP v8
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:39:21
Message: <493da219$1@news.povray.org>
Warp wrote:

>   I haven't compiled it even once.

Certainly I've never found it "necessary" either. But then, I don't 
really "get" what it does that you'd need to change...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Orchid XP v8
Subject: Re: Compiling stuff
Date: 8 Dec 2008 17:41:52
Message: <493da2b0$1@news.povray.org>
> ...
>> Have you ever tried to compile a compiler, BTW?  Like GCC or GHC?  
>> come back
>> when you do.
> ...
> 
> If he is using Gentoo, then maybe he has done that already.

Was using Gentoo. And I'm pretty sure they give you a GCC binary 
pre-built. (How would you build anything else otherwise?) Also the C 
standard libraries, possibly. I can't remember.

Hold on a sec...

http://www.bash.org/?464385

...nope, no help there. ;-) It's hidden away in bootstrap.sh

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.