compiler question
Net Llama!
netllama
Mon May 17 11:49:39 PDT 2004
On Mon, 21 Jul 2003, Tony Alfrey wrote:
> I see that more and more stuff will require gcc 3.3 and I've been
> running gcc 2.95.2. So can someone tell me what potential problems I
> might have if I install 3.3. Specifically
I just wrote a gcc-3.3 SxS.
> a) will 3.3 prevent me from now making small changes in my 2.4.4 kernel
> previously compiled with 2.95.2?
Looks like Redhat has built a 2.4.21 kernel with gcc-3.3. Now I don't
know what you mean by a 'small change'. I'd say that its not a good idea
to build new kernel modules with one compiler, and the kernel with
another, regardless of the versions of gcc.
> b) Will I need some special tools to go with 3.3 (I'll of course read
> the read me about things I'll need for 3.3)
See my SxS.
> c) Is there some clever way that I might switch between 2.95.2 and 3.3?
> gcc at the command line presumably knows only my most recent compiler.
See my SxS. There are a few different tricks, but i've found setting the
CC env var to the location of the gcc that you wish to use to be the best
solution.
> General suggestions about switching would be appreciated.
I've not run into any gcc specific problems since upgrading. Now going to
glibc-2.3.x is another story altogether (mucho headaches).
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list