linux-gcc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: linux-kernel@vger.kernel.org
Cc: Amy Parker <enbyamy@gmail.com>,
	linux-gcc@vger.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: Alternative compilers to GCC/Clang
Date: Wed, 10 Mar 2021 09:53:28 +0100	[thread overview]
Message-ID: <20210310085328.GA21872@duo.ucw.cz> (raw)
In-Reply-To: <20210202053307.GB28542@1wt.eu>

[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]

Hi!

> > Hello! My name's Amy. I'm really impressed by the work done to make
> > Clang (and the LLVM toolchain overall) able to compile the kernel.
> > Figured I might as well donate my monkey hours to helping make it run
> > on other compilers as well. I haven't been able to find any that use
> > the same arguments structure as GCC and Clang (read: you can pass it
> > in as CC=compilername in your $MAKEOPTS). Any compilers along that
> > route anyone here has worked with that I could work with?
> 
> If you're interested, you should have a look at TCC (tiny CC) :
> 
>      https://repo.or.cz/tinycc.git
> 
> It compiles extremely fast, implements some subsets of gcc (a few
> attributes for example), but is far from being able to compile a kernel
> (at least last time I checked). Its speed makes it very convenient for
> development. I made some efforts to make haproxy support it (and provided
> some fixes to tcc) as it compiles the whole project in 0.5 second instead
> of ~10 seconds with a modern gcc. It could probably compile a kernel in
> 15-20 seconds if properly supported, and this could be particularly handy
> for development and testing.

For the record, yes, something that compiles kernel fast would be very
very nice.

Best regards,
								Pavel

-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      parent reply	other threads:[~2021-03-10  8:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 23:31 Alternative compilers to GCC/Clang Amy Parker
2021-02-02  5:33 ` Willy Tarreau
2021-02-02 16:26   ` Amy Parker
2021-02-02 19:11     ` Amy Parker
2021-02-02 20:19       ` Borislav Petkov
2021-02-02 21:00         ` Willy Tarreau
2021-02-02 21:20           ` Borislav Petkov
2021-02-02 21:41             ` Willy Tarreau
2021-02-02 23:20             ` Michael Matz
2021-03-10  8:53   ` Pavel Machek [this message]

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=20210310085328.GA21872@duo.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=enbyamy@gmail.com \
    --cc=linux-gcc@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).