LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/)
-   -   gcc 4 on zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/gcc-4-on-zenwalk-521109/)

arnuld 01-20-2007 04:55 AM

gcc 4 on zenwalk
 
hai all,

i wanted to try zenwalk. i checked the home-page & noticed zenwalk 4.2 uses gcc 3.4.6. i am doing a c++ project and for that i need "gcc 4.x"

is ther any way to iinstall "gcc 4.x" on zenwalk? (except of compiling "gcc 4.x" from sources)

thanks

guth 01-20-2007 05:43 AM

except for (really) really specific code there's no changes between 3.x and 4.x ...

Anyway:
there's no gcc 4 package for now (as far as i can tell). Mostly because it can break a lot of things for people not taking care of version (kernel modules, glibc, ...)

We're waiting for the slackware's new toolchain (new gcc, new glibc, new ...) to use gcc 4.x package.

If you recompile it take care to prefix/suffix the 4.x version not to break "system's compilation" (i.e. nvidia driver, kernel modules, kqemu, ...) :)
(and specify CXX=yourgcc in your makefile, of course ;))

arnuld 01-20-2007 11:57 AM

Quote:

Originally Posted by guth
except for (really) really specific code there's no changes between 3.x and 4.x ...

Anyway:
there's no gcc 4 package for now (as far as i can tell). Mostly because it can break a lot of things for people not taking care of version (kernel modules, glibc, ...)

:-(


Quote:

Originally Posted by guth
We're waiting for the slackware's new toolchain (new gcc, new glibc, new ...) to use gcc 4.x package.

If you recompile it take care to prefix/suffix the 4.x version not to break "system's compilation" (i.e. nvidia driver, kernel modules, kqemu, ...) :)
(and specify CXX=yourgcc in your makefile, of course ;))

i read GCC doumentation & they have given a looong list things to take care, to understand & work with. i think it will soak-up my 4 days & 4 nights :-(


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