lkml.org 
[lkml]   [1998]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.2.0 and egcs 1.1 was Re: Sorry, wrong gcc-version
Date
> Linus Torvalds wrote:
> > In short, if you want to play safe stay with 2.7.2.3 for kernel
> > compilation.

[which isnt an option for several non x86 platforms at all but for x86
makes sense right now sadly. Not that gcc 2.7.2.3 can be relied upon to
compile everything right]

> if [ `gcc -v 2>&1 | grep version | cut -c13-` != '2.7.2.3' ]; then
> ...
> fi

This is not a good idea. gcc may not be compiler. 2.0.36pre15 puts a
#if based test in include/asm-i386/types.h

> wanting to change) perhaps the makefiles should include support for
> compilers which are not called "gcc". Then users could install egcs (or
> whatever) as gcc, and gcc2.7.2.3 as gcc2723 or gccold.

You can call the he compiler what you like. I regularly build with m68k-elf-gcc
for example - see the defines in the top Makefile



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.071 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site