Hello Goswin,
Would you mind putting this into a ticket for us please.
Many thanks
Pete
"brian m. carlson" <sand...@crustytoothpaste.ath.cx> writes:
On Sun, Jun 21, 2009 at 10:29:37PM +0300, Peter Eisentraut wrote:
There is a bit of discussion in bug #487546 about whether using cc or gcc as
the compiler is appropriate.
Particular questions:
* Are Debian packages supposed to be built by default using /usr/bin/gcc (or
whatever gcc is first in the path)? Or is it valid to use cc?
cc has traditionally been the system-default compiler for a Unix system.
Generally, it will support those options specified by POSIX for c99,
since those are a fairly barebones set of options, but it is not
mandated to (since it is not specified).
Since Debian has it specified as an alternative, I would assume that any
C compiler which implements those options would be satisfactory.
Whether cc is a valid choice depends on whether the code will work with
any such compiler. If a program requires GCC, then it should specify
gcc; if any old compiler will work, then cc should be fine.
That fails the reproducable test.
All uploaded packages should always be build with the same compiler,
the debian default gcc, unless a specific compiler is specified in
rules.
So I would say using cc is wrong.
MfG
Goswin
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org