Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: make problems< Next Oldest | Next Newest >
Dark_Phoenix Offline





Group: Members
Posts: 7
Joined: Feb. 2008
Posted: Mar. 30 2008,14:46 QUOTE

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)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 30 2008,15:08 QUOTE

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
Back to top
Profile PM 
Dark_Phoenix Offline





Group: Members
Posts: 7
Joined: Feb. 2008
Posted: Mar. 30 2008,15:41 QUOTE

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?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 30 2008,16:01 QUOTE

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
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 30 2008,16:19 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
18 replies since Mar. 29 2008,22:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: make problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code