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,454 of 264,096   
   hb0815 to Waldek Hebisch   
   Re: Cross gcc targeting VMS   
   30 Sep 25 22:42:09   
   
   From: mw40171@mucweb.de   
      
   On 9/29/25 23:31, Waldek Hebisch wrote:   
      
   > In fact, some symbols like C$_EXIT1 and LIB$INITIALIZE seem to come from   
   > STARLET.OLB, even when other symbols come from shared images.   
      
   Because these symbols are not listed in IMAGELIB.OLB. That is, they are   
   not defined in any shareable image pointed to from IMAGELIB.OLB.   
      
   C$_EXIT1 is a message code, in DECC terms a globalvalue, and Message   
   files aren't shareable images.   
      
   $ ty f.c   
   #include    
   globalvalue C$_EXIT1;   
   f(){printf("%08x\n",C$_EXIT1);}   
   $ cc f   
   $ link/map/cross/full f   
   $ search f.map C$_EXIT1   
   C$_EXIT1      0035A009          C$ERRNO                  F   
   0035A009        C$_EXIT1   
   $ search f.map C$ERRNO/lim=1   
   C$ERRNO         0                      41   
   SYS$COMMON:[SYSLIB]STARLET.OLB;6     22-MAY-2017 22:25  Message A01-12   
   $ r f   
   0035a009   
   $ write sys$output f$message("%x0035a009")   
   %C-S-NOMSG, Message number 0035A009   
   $ set message sys$message:DECC$MSG   
   $ write sys$output f$message("%x0035a009")   
   %C-S-EXIT1, exit value 1   
   $   
      
   As already said, referencing the symbol LIB$INITIALIZE is used to   
   include the LIB$INITIALIZE module. The module contains code. For image   
   initialization, the LIB$INITIALIZE code must be part of the generated   
   image. That is, the code can only be included from an object library (or   
   an object file).   
      
   --- 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