Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Andrew Schultz <ajschult@eos.ncsu.edu>
Subject: Re: Compiler query
Date: Mon, 11 Feb 2002 12:11:58 -0500	[thread overview]
Message-ID: <3C67FB5E.3010704@eos.ncsu.edu> (raw)
In-Reply-To: 5f9f0a23.0202110156.6a63fb5f@posting.google.com

trouble wrote:
> Basically the latest version of some numerical software I bought is
> performing like a dog. I wrote to customer services and got this
> response (below).
> 
> Is this correct ?
> --------------------------------------------------------------------------
> ...the problem is with the gcc compiler for alpha linux.  It
> generates bad code.  Now, there is a competing compiler made by
> Dec Alpha, which does generate better code on Alpha Linux (more like
   (Compaq)

> Alpha
> OSF).
> 
> There are a couple of reasons why the gcc compiler was chosen:
> 1. It is the native compiler for the platform.

yes.

> 2. Dec Alpha's compiler would have required them to link into
> some libraries that are not included with the OS.  This would have
> required the
> customer to install these additional libraries as well.

yes, but I don't think this would be a big deal.  Maybe, but probably not.

> 3. The Dec Alpha compiler for Alpha linux was far behind the
> current version of Red Hat, so they would have had to revert to an
> older version
> of RedHat linux.

probably not.  Compaq has not developed their C compiler since August 
2000.  You can still use the compiler on a new system, although you 
might have to install some linux backward-compatibility libraries.

one additional thing is that it is easier for them to stick with gcc. 
Code that works with gcc on x86 will probably work with gcc on Alpha 
without any tweaking.

> In a performance test, Alpha OSF was the fastest machine out of about
> 10 machines tested.  Incidentally, the alpha linux machine was
> identical hardware, but came in last in the performance test.

If they have ported their code to OSF, the additional time to port it to 
Compaq's C for Linux should not be too bad.

I haven't actually used their C compiler for Linux, but I have used gcc 
on Linux their C compiler on OSF.  I've also used their fortran compiler 
on both Linux and OSF.  The fortran compilers are very similar and 
produce similarly performing code.

-- 
------------------------------------------------------------------
  Andrew Schultz                    | The views expressed might
  ajschult@eos.ncsu.edu             | not represent those of NCSU.
  http://www4.ncsu.edu/~ajschult/   | They are however, correct.



  reply	other threads:[~2002-02-11 17:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-11  9:56 Compiler query trouble
2002-02-11 17:11 ` Andrew Schultz [this message]
2002-02-11 19:14   ` Kenneth Block
2002-02-12 13:35   ` Måns Rullgård
2002-02-12 13:58     ` Falk Hueffner
2002-02-13  8:16       ` Måns Rullgård
2002-02-13  9:39         ` Falk Hueffner
2002-02-13 11:15           ` Måns Rullgård
2002-02-13 12:04             ` Falk Hueffner
2002-02-13 13:53               ` Måns Rullgård
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox