home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,160 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Simon Clubley   
   Re: Binutils   
   01 Sep 25 18:47:18   
   
   From: arne@vajhoej.dk   
      
   On 9/1/2025 5:00 PM, Simon Clubley wrote:   
   > On 2025-09-01, 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.   
   >   
   > I do not know about Fortran, but C++ used to work IIRC, and Arne   
   > appears to be confirming that as well. I cannot remember if I tried   
   > C++ but I have a vague memory I did and had similar problems to Fortran,   
   > but it's long enough ago that I may be wrong about that.   
      
   Note that the 2.8.x stuff used VMS LINK.   
      
   $ gccl*ink :== @gccbetadir:[000000]gcclink.com   
   $ gxxl*ink :== @gccbetadir:[000000]gxxlink.com   
      
   gcclink.com:   
      
   $ link 'p1', -   
           gnu_cc_library:libgcc.olb/library, -   
           gnu_cc_library:crt0.obj   
   $ exit   
      
   gxxlink.com:   
      
   $ if p2 .eqs. ""   
   $ then   
   $    link/exe='f$parse(p1,,,"NAME")' gnu_cc_library:crtbegin.obj, -   
                                         'f$parse(p1,"sys$disk:[].obj")', -   
                                         gnu_cc_library:libstdcxx.olb/lib, -   
                                         gnu_cc_library:libgccplus.olb/lib, -   
                                         gnu_cc_library:libgxx.olb/lib, -   
                                         gnu_cc_library:libgcc.olb/lib, -   
                                         gnu_cc_library:crtend.obj, -   
                                         sys$library:vaxcrtl.olb/lib, -   
                                         gnu_cc_library:gxx_main.obj   
   $ else   
   $    link/exe='f$parse(p1,,,"NAME")' gnu_cc_library:crtbegin.obj, -   
                                         'f$parse(p1,"sys$disk:[].obj")', -   
                                         'p2'/lib,-   
                                         gnu_cc_library:libstdcxx.olb/lib, -   
                                         gnu_cc_library:libgccplus.olb/lib, -   
                                         gnu_cc_library:libgxx.olb/lib, -   
                                         gnu_cc_library:libgcc.olb/lib, -   
                                         gnu_cc_library:crtend.obj, -   
                                         sys$library:vaxcrtl.olb/lib, -   
                                         gnu_cc_library:gxx_main.obj   
   $ endif   
   $ exit   
      
   The C++ link needed many more pieces than the C link.   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca