Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Rob Hooft <Rob.Hooft@embl-heidelberg.de>
Subject: F90 compiler on DecUnix 3.2
Date: 1996/06/11	[thread overview]
Message-ID: <vzyspc2cz18.fsf@nu.embl-heidelberg.de> (raw)



My workstation was upgraded from 2.0 to 3.2 last Friday. Part of the upgrade
was the installation of the DEC 'f90' fortran compiler. 

  nu[169]Mail% ll /usr/lib/cmplrs/ | grep fort
  lrwxrwxrwx   1 root     system          8 Jun  7 14:57 fort -> fort_380/
  lrwxrwxrwx   1 root     system         12 Jun  7 15:01 fort90 -> ./fort90_200/
  drwxr-xr-x   2 root     system        512 Jun  7 15:02 fort90_200/
  drwxr-xr-x   2 root     system        512 Jun  7 14:58 fort_380/
  lrwxrwxrwx   1 root     system         11 Jun  7 14:57 fortrtl -> fortrtl_360/
  drwxr-xr-x   2 root     system        512 Jun  7 14:57 fortrtl_360/

I noticed a few unfortunate properties of this compiler:

  nu[127]src% touch empty.f
  nu[128]src% f90 -c empty.f 
  f90: Severe: The input stream is empty
  nu[129]src% f77 -c empty.f 
  nu[130]src% echo " " > space.f
  nu[131]src% f90 -c space.f    
  f90: Error: space.f, line 1: Syntax error, found END-OF-FILE when expecting one of: <LABEL> <END-OF-STATEMENT> ; TYPE COMPLEX BYTE CHARACTER DOUBLE DOUBLECOMPLEX ...
   
  -^
  nu[132]src% f77 -c space.f 
  nu[133]src% 

Is this supposed to happen? The real-world cases triggering this are a
few files that only contain Silicon Graphics specific code that should not
be compiled on ALPHA. This results in the "Syntax error" mentioned
above after the "-cpp" has found out that there is no serious code
left.

Rob Hooft.

-- 
=== Rob.Hooft@EMBL-Heidelberg.DE   http://www.Sander.EMBL-Heidelberg.DE/rob/ ==
==== In need of protein modeling?  http://www.Sander.EMBL-Heidelberg.DE/whatif/
Validation of protein structures?  http://biotech.EMBL-Heidelberg.DE:8400/ ====
================ Long Live Linux!  Free Software Rules The World! =============



             reply	other threads:[~1996-06-11  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-11  4:00 Rob Hooft [this message]
1996-06-13  4:00 ` F90 compiler on DecUnix 3.2 Steve Lionel
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