Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Karl Trygve Kalleberg <karltk@g.o>
Subject: Re: gcc vs tcc
Date: Sat, 30 Nov 2002 15:17:45 +0100
On Sat, 30 Nov 2002 01:30:40 +0100
Fernand Albarracin <fernand8@...> wrote:

> Hi,
>
> How about simply using an environnement variable such as CC ? The user
> would set it in /etc/make.conf as he already does with CFLAGS and
> friends. But he would propably do the following instead :
> 
> 	CC=tcc; CFLAGS=-g; emerge stuff
> 
> CC would even allow to have multiple GCC version to choose from
> (right?). And the best from a maintainer point of view: no
> ebuild-specific work required.

In this case, the problem is that the user will have to be informed of
that _before_ doing the gobo compilation. As per ebuild rules, we are not
allowed to stop the build process and ask the user for input, so at best,
he'd see a notice scrolling by at high speed saying "this package would
take 2mins to compile if you have chosen tcc, but you haven't, too bad for
you".

I certainly agree with you that the CC=tcc is a nicer approach (perhaps
even the nicest approach of them all), but it requires the user to
actually _know_ he can benefit from using tcc on gobo beforehand. That's a
very steep requirement imho, given the fact that very few people have
heard of tcc, nobody's heard of gobo, and it's hardly commonplace to think
you can get a 30x improvement in compilation time just by switching
compilers :)


Kind regards,

Karl T

--
gentoo-dev@g.o mailing list

References:
gcc vs tcc
-- Per Wigren
Re: gcc vs tcc
-- Per Wigren
Re: gcc vs tcc
-- George Shapovalov
Re: gcc vs tcc
-- Per Wigren
Re: gcc vs tcc
-- Karl Trygve Kalleberg
Re: gcc vs tcc
-- Fernand Albarracin
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc vs tcc
Next by thread:
Re: gcc vs tcc
Previous by date:
Re: NEW Apache2 + third party modules
Next by date:
Re: /etc/profile


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.