bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Get coreutils 6.1 to build on a ANSI 89 compiler


From: Bob Proulx
Subject: Re: [patch] Get coreutils 6.1 to build on a ANSI 89 compiler
Date: Sun, 17 Sep 2006 11:36:13 -0600
User-agent: Mutt/1.5.9i

Petter Reinholdtsen wrote:
> The ANSI C 89 compilers refuses code that fail to declare variables at
> the start of the block.  I found this problem on RHEL 2.1.  The code
> refused to compile, and I have to move the variables up to the start
> of the block to get it building.

One of the reasons for the "soft" requirement of C99, I say soft
because Jim included an easy way to patch the code back to C89, was
because is it believed that non-C99 capable systems are now so old as
to be either obsolete or hobby only systems.  Having a default
compilation fail on those system is one way of discovering any real
system that actually is still alive out of hiding.

With that in mind may I ask a few questions?  (Please make sure to
keep the mailng list address in the reply.)

 * What architecture are you using RHEL 2.1 AS on?
     uname -m
 * What compiler is available on that platform?
     gcc --version
 * What libc is available there?
     ldd --version

And now the big question.  Could you say a few words about why you are
using that platform?  RHEL 2.1 AS released in May 2002.  That is four
years old now.  There are certainly good reasons to keep using a
stable platform.  But you are trying to compile a new coreutils there
which implies that you are not keeping that platform stable and are
instead trying to pull it forward.  Wouldn't it be better in that case
to upgrade to a more recent system?

Thanks
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]