[ale] anyone know how2 check a ...gcc... installation ?

Christopher Fowler cfowler at outpostsentinel.com
Sun Sep 25 18:46:49 EDT 2005


[cfowler at shuttle ~]$ cat > hello.f
      PROGRAM HELLO
      DO 10, I=1,10
      PRINT *,'Hello World'
   10 CONTINUE
      STOP
      END
[cfowler at shuttle ~]$ g77 -o hello ./hello.f 
[cfowler at shuttle ~]$ ./hello 
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
 Hello World
[cfowler at shuttle ~]$ 

On Sun, 2005-09-25 at 12:41 -0400, James P. Kinney III wrote:
> The best way to do a compiler test is to take a know-good, small app
> that does nothing more than a println (my Fortran is getting rusty...)
> and compile it.
> 
> You can also test some more complicated routines with Numerical Recipes
> in Fortran. Be sure to check the errata first as the last copy I was
> using (1997ish) had several errors in routines I was using.
> 
> On Sat, 2005-09-24 at 15:49 -0500, Courtney Thomas wrote:
> > I'm getting compilation errors trying to install Elmer, a "Finite
> > Element Methods" suite.
> > 
> > The complaint is specifically about not being able to compile a Fortran
> > test during a ./configure of one of the components.
> > 
> > I see that /usr/bin/f77 is installed but I don't know how nor where gcc
> > and all it's manifestations are or should be.
> > 
> > I just want to know it's all there and properly functional  ;-)
> > 
> > gcc -v   ->   3.4.2
> > 
> > I don't want to start upgrading, just ascertain that all's well.
> > 
> > Appreciatively,
> > 
> > Courtney
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list