|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 08 Dec 2008 12:04:57 -0800, Darren New wrote:
> 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.
Yeah, if you have module support compiled in, you only have to compile
the modules you need, and that does speed things up a bit. If you're
using a monolithic kernel (more common in the "old days") without modular
support, then it was a rebuild.
I used to regularly build my kernels because I wanted features in newer
versions or add-on drivers that were written to a specific kernel release.
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 08 Dec 2008 17:31:36 -0200, Nicolas Alvarez wrote:
> Jim Henderson wrote:
>> Building GCC on Sun systems was fun - IIRC, it compiled itself three
>> times, first time using the commercial compiler that came with the OS,
>> and then two separate passes with GCC itself to optimize its own code.
>
> Yep, the three-phase bootstrapping. I think the final step is building
> itself with itself and comparing both executables, to make sure
> everything worked.
Yeah, that could be it. I remember it took *hours* to complete, we
started it and went to dinner, when we came back it still wasn't done.
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 08 Dec 2008 14:22:31 -0500, Tom Austin wrote:
> Hey Jim, sounds like you are into the LFS stuff as well.
Well, I've installed it once or twice in my life - I don't know if that
qualifies as "into" it. :-)
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 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.
>
> 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.
Yes, but sometimes one does an "emerge --sync && emerge -uDN world"
> Hold on a sec...
>
> http://www.bash.org/?464385
>
> ...nope, no help there. ;-) It's hidden away in bootstrap.sh
;)
--
Tor Olav
http://subcube.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stephen <mcavoysAT@aolDOTcom> wrote:
> On 8 Dec 2008 17:37:11 -0500, Warp <war### [at] tagpovrayorg> wrote:
>
> >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.
>
> Join the club, neither have I. :)
I'm joining. Never did that "initiation" exam. ;)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp 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.
I'm tempted to simply answer with: "Read the rest of that message."
But that probably will just lead to "Why did you have to do it the
first time?"
Answer: I was doing a Stage 1 Gentoo install - which meant compiling
*everything* from scratch. That must, of course, include the kernel.
It's quite conceivable that the default kernel options will miss out a
lot (as it did for, say, DAV support and I believe does for the MPPE
support I need for the PPTP VPN). So you then go and recompile to enable
those.
Then you have my embedded network card. Support for that was needed at
the kernel level. At the time, default kernels did not have support for
it, and you'd have to get it from the manufacturer and compile it as a
kernel module. Probably most popular distributions patched the kernel,
but I was on Gentoo and had to do it myself (which, kind of, is the
point of Gentoo). The kernels include it now by default.
Since I *had* to compile the kernel to install Gentoo(+), I went for
minimalism - I disabled everything I didn't need. Then recompiled
whenever I needed more. As the default setup wouldn't have worked
anyway, and I had to make menuconfig anyway, why not do it right?
Do popular distributions have everything enabled in the kernel by
default? I really doubt it. So none of you has ever needed to install a
package that required some kernel support - only to find that the
distro's kernel didn't enable that feature?
I don't see what the big deal is, and why people keep heavily
emphasizing to others that one shouldn't have to compile the kernel.
It's fairly straightforward, and doesn't break anything for me. In the
old days, you'd have to recompile ALSA and a few other packages
everytime you compiled the kernel, but those days are gone.
(+) Neglecting the technicality that I didn't have to do a Stage 1
install. In my case, though, that was the whole reason I was installing
Gentoo to begin with. And was well rewarded for the effort.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jim Henderson wrote:
> Try LFS, that'll really teach you a lot about linux, even if you don't
> get a bootable system.
Ugh. You just reminded me of my nightmares with LFS. I didn't learn
much, and mostly copied & pasted the commands. Got it to work. Never
bothered to go forward with BLFS.
LFS *is* good for learning. However, it and BLFS will probably suck
heavily if you want to use it as your primary system and maintain it.
That's what led me to Gentoo.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Eero Ahonen wrote:
>> (It probably contains drivers for every piece of hardware known to
>> mankind, even if you don't need it. And I'll bet even if you disable
>> those parts, it still has to process that part of the source code to
>> decide whether or not to compile it...)
>
> No, it doesn't :(. That's one reason why Windows is still much more
> widely used in workstations and especially in gaming computers.
Yeah, but I think Linux beats Windows hands down for legacy support. I
believe Linux surpassed Windows a while ago for overall hardware support.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 wrote:
> 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.
If it was a stage 1 install, I think they give you a prebuilt binary,
but you then use that to compile GCC and switch to that.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Eero Ahonen wrote:
> Mueen Nawaz wrote:
>
>> 8-10 minutes is not that long. I've been running Gentoo for over 5
>> years on the same machine, so I can tell you how long it took for any
>> package I've ever compiled via Portage.
>
> Ooh, I've clearly missed some information, where is that written?
I have full merge history in /var/log/emerge.log
To parse it, emerge genlop. I use genlop all the time for estimating
build times, etc.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |