Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-14-2005, 09:25 AM   #1
Registered: Jan 2005
Posts: 189

Rep: Reputation: 30
Kernel compilation with old GCC

Hallo All,

i found that I compliled the latest Kernel with very old gcc - 2.95 ...the reason behind this was that some of my programs are old and can only be compiled with gcc-2.95 and while compiling the kernel i forgot to change the sym links to the new version ...

now, does it harm to have latest kernel compiled with old compiler ?

and if yes, in what way ? until now it has given me no probs..

and if it harms, can I just recompile the kernel by changing the links to the new compiler and will it replace the old one ?

Old 12-14-2005, 10:03 AM   #2
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
I think you should use kernel version 2.4
And what kind of program tha cannot be compile with new compiler, did you try the latest version of these program?
Old 12-14-2005, 10:14 AM   #3
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
thanks for the reply.

i already have gcc-3.4 version, but I have my own old code it needs omniOrb a corba broker to communicate with java classes...right now it is a big task to change the old code to work with new versions of corba broker so I have installed old gcc-2.95..

to switch to new gcc i just have to chagne the sym links gcc and g++ which point to the correspondign versions..

but i want to know what difference it makes.. i searched and got something about some Posix Threading Libraries that dont work with gcc less than gcc-3...

so if it is required i can comple the kernel again with new gcc-3.4 for that I guess , i only need to change the sym links, but I dont know weather this will replace(overwrite) the old kernel compiled with gcc-2.95.

Old 12-14-2005, 03:35 PM   #4
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
Just found this on the web:

seems there are some problems whit gcc 2.95 and 2.6, and support might even stop soon.

But as long as a kernel compiled whit gcc 2.95 works for you, all is good right?

(and you can have diffrent kernelversions installed, so it won't overwrite if you don't tell it to do so)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation prob with gcc srinis Linux - Newbie 2 03-11-2005 04:06 PM
GCC Compilation Errors The_Dish Programming 7 10-08-2004 04:33 PM
should I use gcc-2.95.3 for kernel compilation shanenin Linux From Scratch 9 07-25-2004 10:24 PM
GCC version in kernel compilation Alpha_Beta Linux - Newbie 3 09-29-2003 11:39 PM
gcc compilation error Proger Programming 1 03-22-2003 12:32 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration