mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mahadev K Cholachagudda" <mahadev_kc@yahoo.com>
To: <linux-kernel@vger.kernel.org>
Cc: <crossgcc@sources.redhat.com>, <gcc-help@gcc.gnu.org>
Subject: Why only Linux uses GCC to compile the source code. please help
Date: Wed, 24 Jan 2001 18:49:13 +0530	[thread overview]
Message-ID: <000b01c08608$427a8540$2e00a8c0@kcmahadev> (raw)

Hi to all,

Please include ****mailto:mahadev_kc@yahoo.com ***** in the reply list
******as i am not a member of the list******.

After i am going through the some part of the linux code, i wrote the
following. Please review it and if you have any additions/modifications or
comments please let me know.

Your help is really needed.

Thanks for any help,

Mahadev K Cholachagudda


The document is as below.

Introduction:

This document describes about the features of gcc which are very much
necessary to compile the Linux and also about the features that an 'x'
compiler does not have if used to compile the Linux.

Details:

1. The GCC has an explicit inline declaration for functions. So this option
may enable the calling function to have the contents of some global
variables in particular register.

2. The GCC has an support for inline assembly with 'C' expression operands
which can be used in 'C' functions.

3. The GCC has a support for including the 'C' header files into the
assembly source files.


The problems if one uses 'x' compiler other than GCC.
=====================================================

1. He/she may not get the features of GCC listed above into the 'x'
compiler.

2. The Linux kernel mainly uses GCC. If the Linux kernel is made to compile
using 'x' compiler other than GCC, then code updation will take time for 'x'
compiler if a newer version or patch of Linux released.

3. The Linux code may have some code which is purely based upon the data
types e.g. for one processor the unsigned long may be 32 bits or 16 bits.




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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/

             reply	other threads:[~2001-01-24 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-24 13:19 Mahadev K Cholachagudda [this message]
2001-01-24 20:19 ` Erik Mouw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000b01c08608$427a8540$2e00a8c0@kcmahadev' \
    --to=mahadev_kc@yahoo.com \
    --cc=crossgcc@sources.redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®