Re: compiling linux with/without using GCC

From: Marius Aamodt Eriksen (mae@nextra.com)
Date: Tue Sep 19 2000 - 01:24:28 EST


On Tue, Sep 19, 2000 at 11:51:12AM +0530, Mahadev K Cholachagudda wrote:
> Hi to all,
>
> I have one question:
>
> Why does the linux kernel needs GCC for compiling. ?

There are many many hacks that only work on gcc. For example, most C compilers do not
yet support 'inline functions'.
>
> please mail me what are the reasons that only gcc is used to compile the
> kernel ?
>
> If i want to use a compiler other than gcc, how much time it will take to
> port the assembly code to the other compilers assembly code ?.

The assembler code isn't the problem.

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:19 EST