[lkml]   [1998]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.2.0 and egcs 1.1 was Re: Sorry, wrong gcc-version
    > Linus Torvalds wrote:
    > > In short, if you want to play safe stay with 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 can be relied upon to
    compile everything right]

    > if [ `gcc -v 2>&1 | grep version | cut -c13-` != '' ]; 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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.017 / U:6.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site