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,103 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Waldek Hebisch   
   Re: Binutils   
   29 Aug 25 10:47:20   
   
   From: arne@vajhoej.dk   
      
   On 8/29/2025 10:14 AM, Waldek Hebisch wrote:   
   > I wonder if anybody is using GNU binutils targeting VMS.  I am   
   > trying to set up toolchain for cross-compilation (from Linux) to   
   > Alpha VMS.  Trying reasonably recent (2.43 and 2.39) binutils I   
   > get errors suggesting serious brokennes, for example when I use   
   > 'ar' to create a library and later extract a member I get changed   
   > file and 'objdump' says that extracted file is malformed.   
   >   
   > I am now trying binutils 2.21 and apparently they do not have the   
   > problem above.  But I see some weirdness and apparently '-shared'   
   > option (to create shared image) is not supported.   
      
   I suspect very few try to build VMS executables on Linux.   
      
   GNV got both ar and ld, but that does not help you.   
      
   But are you sure you want to do it this way?   
      
   My understanding is that you want to do:   
      
   source-(compiler on Linux)->.obj->(ld on Linux)->VMS .exe   
      
   I would go for:   
      
   source-(compiler on Linux)->.obj->(LINK on VMS)->VMS .exe   
      
   Or if possible even better:   
      
   source-(compiler on Linux)->.s-(GCC AS on VMS)->.obj-(LINK on VMS)->VMS .exe   
      
   GCC AS (version 2.8) is working on VMS Alpha.   
      
   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