Re: compiling the kernel not using (linux, gcc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-11-20 at 10:16 +0200, MHD.Tayseer wrote:
> Hi all
> I have a proprietery cross compiler that runs on a Windows i386 platform
> .. i'm wondering if i can compile the Linux kernel with it
> I can't use gcc and binutils cause i wanna cross compiling to a arch
> that is not supported by gcc

I think you're in waaay deep then... I don't think there is any
architecture that has no gcc port but does have a kernel port today...
so you'll have to port not only to another compiler, but also to another
architecture. That's, ehm, not a trivial task.

> 3- is the source of the kernel written without any GNU C extensions .. i
> mean will it compile with C99 standard ?

No. In many places, especially architecture specific ones, it depends on
gcc-isms. And on binutils/elf.

It is possible to use other compilers to some extend; but only if those
compilers have enough gcc extensions added to them.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux