From: arne@vajhoej.dk   
      
   On 9/1/2025 2:33 PM, Waldek Hebisch wrote:   
   > Simon Clubley wrote:   
   >> When I talked about bits missing, I wasn't thinking about the headers   
   >> and libraries. Given that Adacore didn't start using Newlib or something   
   >> similar to support VMS, that was pretty much expected.   
   >>   
   >> I was thinking more about bits missing within the compiler or binutils   
   >> itself, especially given the crashes I had with Fortran. I was wondering   
   >> if, for example, there are bits missing in the image initialisation   
   >> sequence, along with other similar types of missing bits.   
   >   
   > Do you have any indications that gcc Fortran or C++ worked on VMS say 25   
   > years ago? Presumably Ada Core cared mostly about Ada. To build Ada   
   > compiler they needed to build C compiler first. I do not know if they   
   > ever supported on VMS gcc version recent enough to require C++ to build.   
   > If C++ and/or Fortran was never supported, then missing pieces in runtime   
   > support are expected. Also, there may be new pieces of platform support   
   > needed by newer compiler versions, that nobody bothered to add for VMS.   
      
   C and C++ worked in 1.4x on VAX and 2.8.x on Alpha.   
      
   The first I remember. I used it pretty extensively.   
      
   The second I can demo:   
      
   $ type hello.c   
   #include    
      
   int main()   
   {   
    printf("Hello world from C!\n");   
    return 0;   
   }   
   $ gcc hello.c   
   $ gcclink hello   
   $ r hello   
   Hello world from C!   
      
   and:   
      
   $ type hello.cc   
   #include    
      
   int main()   
   {   
    cout << "Hello world from C++!" << endl;   
    return 0;   
   }   
   $ gxx hello.cc   
   $ gxxlink hello   
   $ r hello   
   Hello world from C++!   
      
   ProGIS tried to make a business out of GCC and GXX on VMS. I don't   
   think that ever turned profitable.   
      
   I don't think I ever say G77 on VMS (back then it was G77 not GFortran).   
      
   Also note that C++ back then was before C++98 and the language and   
   runtime was not quite as well defined.   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|