Re: What compiler should be used? (cc, gcc, egcc, c++, g++, eg++)
- To: Brederlow <goswin.brederlow@student.uni-tuebingen.de>, debian-devel@lists.debian.org
- Subject: Re: What compiler should be used? (cc, gcc, egcc, c++, g++, eg++)
- From: Hamish Moffatt <hamish@debian.org>
- Date: Fri, 15 May 1998 08:19:49 +1000
- Message-id: <[🔎] 19980515081949.A18235@yodeller.rising.com.au>
- Mail-followup-to: Brederlow <goswin.brederlow@student.uni-tuebingen.de>, debian-devel@lists.debian.org
- In-reply-to: <[🔎] q990o4nbbh.fsf_-_@fphp14.tphys.physik.uni-tuebingen.de>; from Brederlow on Thu, May 14, 1998 at 05:04:18PM +0200
- References: <[🔎] q990o4nbbh.fsf_-_@fphp14.tphys.physik.uni-tuebingen.de>
On Thu, May 14, 1998 at 05:04:18PM +0200, Brederlow wrote:
> What does the policy say about the default system compiler?
>
> I always though that the default should be cc and c++.
> While compiling I saw far to many packages not using those at all. To
> name one, apt uses CC=egcc and CXX=g++. The first should be killed and
> the second one should be c++ I think. (or is there any c source in
> apt?)
If the package does anything compiler-specific (eg compiler flags)
then it should specify which compiler it wants, imho. If not, cc/c++
would be fine, but a lot of upstream software (especially using autoconf)
uses gcc anyway and it's not worth changing it, since we have only
Debian GNU/Linux so far.
Hamish
--
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- Prev by Date:
Re: svgalib version 1.2.13-3.1 is miscompiled
- Next by Date:
back from vacation
- Previous by thread:
What compiler should be used? (cc, gcc, egcc, c++, g++, eg++)
- Next by thread:
Re: What compiler should be used? (cc, gcc, egcc, c++, g++, eg++)
- Index(es):