From: antispam@fricas.org   
      
   Dan Cross wrote:   
   > In article <108sckg$19hcn$1@paganini.bofh.team>,   
   > 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.   
   >   
   > There is a BFD backend for VMS on Alpha in the main binutils   
   > branch in git, but it is not clear to me how well-tested or   
   > generally maintained it is, nor how compatibile with the   
   > standard VMS utilities it ever was; I suspect it existed   
   > primarily to port GNU software to VMS.   
   >   
   > What, exactly, are you trying to do?   
      
   Well, this is part of bigger rather poorly defined project. ATM   
   I trying to compile gcc-15.1. I first build binutils, then I do   
      
   ../gcc-15.1.0/configure --enable-languages=c,c++ --target=alpha-dec-vms   
   --prefix=/sklad/usr   
   make -j 7 > mlogg 2>&1   
      
   There were earlier problems that I resolved. I have now trouble   
   during linking of libgcc. Some problems went away after switch   
   from binutils 2.43 to binutils 2.21. But now I get the following   
   error:   
      
   /sklad/usr/alpha-dec-vms/bin/ld: -shared not supported   
      
   That is 'ld' from binutils 2.21 says that it does not support   
   '-shared'. Note that Makefile wants to create 'libgcc_s.exe',   
   so it knows about VMS file extentions. In other words somebody   
   at least tried to make it work.   
      
   If you want more details I can provide them, but the message   
   about '-shared' appears also when I attempt to build a   
   different shared image:   
      
   /sklad/usr/alpha-dec-vms/bin/ld -shared -o pop_poll.exe pop_poll.obj   
      
   so the problem can be reproduced outside of gcc build.   
      
   --   
    Waldek Hebisch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|