Results 1 to 3 of 3
In trying to read everything that is is applicable, and heed all the proper advice for compiling a new kernel with newly selected options [not to mention the scary case ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2004 #1
- Join Date
- Sep 2004
The gcc 2.95.3 Catch-22 Problem
and you read:
The gcc version requirements may vary depending on the type of CPU in your
computer. The next paragraph applies to users of x86 CPUs, but not
necessarily to users of other CPUs. Users of other CPUs should obtain
information about their gcc version requirements from another source.
The recommended compiler for the kernel is gcc 2.95.x (x >= 3), and it
should be used when you need absolute stability. You may use gcc 3.0.x
instead if you wish, although it may cause problems. Later versions of gcc
have not received much testing for Linux kernel compilation, and there are
almost certainly bugs (mainly, but not exclusively, in the kernel) that
will need to be fixed in order to use these compilers.
Can someone resurrect the required down-level compiler and provide some installation instructions as to how to configure your environment to sometimes compile with 2.95.3 and sometimes compile with the current 3.3.3. executables and libraries [or any other dependencies that I have not even considered]? Otherwise, how is kernel recompilation ever to be correctly performed if the proper verison of the compiler cannot be installed?
- 09-26-2004 #2
I'd say that you should use the most recent ("stable") gcc you can get, I've compiled all of my kernels with gcc v3.3.x, and I've not yet had an gcc caused compile error (more like "wrong choices for my arch"-options, living on the edge by fooling around with the flags in the make file, etc).
The worst thing that probably could happens is that you boot in to the new kernel and it panics (sort of equivalent to window's BSOD - with out the options "crash now", "try to crash afain" ), just reboot in in to the old kernel then.Regards Scienitca (registered user #335819 - http://counter.li.org )
A master is nothing more than a student who knows something of which he can teach to other students.
- 10-01-2004 #3
- Join Date
- Oct 2004
I have had no problems compiling with gcc 3.3.x, and more recently, gcc 3.4.2.
You should be able to install a seperate gcc toolset in a different location. For example, download the newest gcc sources, and configure with --prefix=/usr/local/gcc-3.4.2. When you wish to use that toolset, specify that you wish to use it when configuring applications for a build.