System :: make problems



Let me just make sure I have everything I need here to build / install modules / drivers / apps ect.... I have installed the following extensions :

* linux-2.4.26 (from kernel.org)
  * linux-kernel-headers.dsl
* kernelsource.dsl
* gcc-2.95.dsl
* gcc1-with-libs.dsl
* gnu-utils.dsl

is there anything else I need or any particular order that they have to be installed in?

(btw, if it matters, I have dsl-3.3 and kernel-2.4.26)

If you use the full kernel source, I don't think you need linux-kernel-headers.dsl or kernelsource.dsl and I also think you need to load gcc-2.95 last
Quote (curaga @ Mar. 30 2008,09:14)
Oh yes. You need the same GCC version as the kernel was compiled with, 2.95. And link gcc-2.95 to cc so it can be found under that generic name.

Sorry to be a pest here, but I am still quite a noob with linux.
I noticed that the current version of DSL is using kernel-2.4.31, if I were to change to this version where can I find a lint of gcc versions to match the kernel?

And also, how would I link it to cc, would I create a symlink?

Quote
I noticed that the current version of DSL is using kernel-2.4.31, if I were to change to this version where can I find a lint of gcc versions to match the kernel?

Apart from needing the full 2.4.31 kernel sources and a different .config, I think the other stuff would work.

Quote
And also, how would I link it to cc, would I create a symlink?

Something along the lines of:
Code Sample
$ sudo ln -s /usr/bin/gcc-2.95 /usr/bin/cc

With a HD install having multiple kernels around is easy. If you are gonna compile a kernel while your at it, go for it!
Seriously, it's quite fun and a nice learning experience. Plus you can get additional performace and smaller ram & hd usage by customizing for your machine, and by compiling with a later gcc.

When I still had a DSL Hd install I made a custom kernel, the latest 2.4 at the time. So if you are going to do it, no reason to stay at 2.4.31, go for 2.4.36.2.

Next Page...
original here.