Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Takeyasu Wakabayashi <twakaba@eco.toyama-u.ac.jp>
Subject: Re: DEC compilers available for Linux?
Date: 19 Sep 2000 15:12:20 +0900	[thread overview]
Message-ID: <m2r96ggbaz.fsf@eco.toyama-u.ac.jp> (raw)
In-Reply-To: 4Csx5.4364$nk3.275467@newsread03.prod.itd.earthlink.net

"Hack" <washultz@earthlnik.net> writes:

> Yup.  SuSE or Red Hat will do the job.  The EGCS stuff will do what you need
> it to do.  It's ANSI compliant anyway.  All of that will put you in the
> 32-bit realm.  It'll allow you to do long and double long computations with
> no problems.  But, it is 32-bit.  Now if you want to go the 64-bit route
> then you only have one option.  And that is FreeBSD.  When booting from SRM
> it puts FreeBSD in 64-bit mode, and the compilers are also ANSI compliant.
> 

??? What do you mean by 32-bit? Linux/Alpha employs LP64 model 
even before FreeBSD/Alpha existed. The first 64-bit version was 
BLADE 0.2/0.3 from Digital Semiconductor with 1.3 kernel, which 
was made public in 1996(correct me if I'm wrong). 

Besides, "the" compiler of FreeBSD is nothing but GCC(or EGCS, 
if you insist on this name.) Linux/Alpha has Compaq C/C++/Fortran 
which are optimized for Alpha architecture. 

If you are in doubt, try the following program on Linux/Alpha 
to see it's a 64-bit OS:

#include <stdio.h>
#include <limits.h>

int main(void)
{
    printf("sizeof pointer: %d bits\n", sizeof(void *) * CHAR_BIT);
    printf("sizeof double : %d bits\n", sizeof(double) * CHAR_BIT);
    printf("sizeof float  : %d bits\n", sizeof(float *) * CHAR_BIT);
    printf("sizeof long   : %d bits\n", sizeof(long *) * CHAR_BIT);
    return 0;
}

--
    Takeyasu Wakabayashi
    Faculty of Economics, Toyama University
    twakaba@eco.toyama-u.ac.jp



  parent reply	other threads:[~2000-09-19  6:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-18  4:00 DEC compilers available for Linux? darcher8987
2000-09-18  4:00 ` Serguei Patchkovskii
2000-09-19  0:42   ` W Bauske
2000-09-18  4:00 ` Greg Lindahl
2000-09-18  4:00 ` Hack
2000-09-19  4:00   ` Robert Harley
2000-09-19  4:00   ` RL Griswold
2000-09-26  1:20     ` ttk
2000-09-19  6:12   ` Takeyasu Wakabayashi [this message]
2000-09-19  4:00     ` Warner Bruns
2000-09-19  4:00       ` Takeyasu Wakabayashi
2000-09-19  4:00         ` Tony Hammitt
2000-09-19  6:15     ` Takeyasu Wakabayashi
2000-09-19  4:00       ` Nick Ntarmos
2000-09-19  4:00         ` Takeyasu Wakabayashi
2000-09-24  4:00 ` Don Baker
2000-09-24  4:00   ` Serguei Patchkovskii
2000-09-24  4:00   ` Rob Komar
2000-09-26  4:00     ` Don Baker
2000-09-26  4:00       ` Serguei Patchkovskii
2000-10-17  4:00     ` jdonsbach
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