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 264,033 of 264,096   
   hb0815 to All   
   Re: pictures in the old time   
   16 Jan 26 18:19:11   
   
   From: mw40171@mucweb.de   
      
   On 1/15/26 13:54, hb0815 wrote:   
      
   > If he has such (Alpha/IA64) object modules compiled for whatever reason   
   > with /NOPREFIX then he may work around this with a wrapper that provides   
   > the non-prefixed names and maps them to the appropriate names from   
   > DECC$SHR.   
      
   Just for fun, on Eisner - yes, you can try this at home ...   
      
   $ cre hello.c   
   f(){printf("world!\n");}   
     Exit   
   $ cc/noprefix/tie/warn=dis=implicitfunc hello   
   $ link hello   
   %LINK-W-NUDFSYMS, 1 undefined symbol:   
   %LINK-I-UDFSYM,         PRINTF   
   %LINK-W-USEUNDEF, undefined symbol PRINTF referenced   
            in psect $LINK$ offset %X00000030   
            in module HELLO file HB_SCRATCH:[HB]HELLO.OBJ;1   
   $   
   $ link/nonative_only hello,tt:/opt   
   sys$share:vaxcrtl_d56_tv/share   
     Exit   
   $ r hello   
   world!   
   $   
   $ shiml hello.exe   
   recursive SHareable IMage dependency List (Alpha), version 1.5   
     [ -> translated logical name ] required match: ID [ / actual match: ID ]   
     [ (self) - self reference;  (dnf) - duplicate, not followed ]   
      
   VAXCRTL_D56_TV - MATLEQ: 4,3 / MATLEQ: 4,3   
        LIBRTL_TV -> LIBRTL_D56_TV - MATLEQ: 1,14 / MATLEQ: 1,14   
            LIBRTL - MATLEQ: 1,1 / MATLEQ: 1,1   
                SYS$PUBLIC_VECTORS   
                SYS$BASE_IMAGE   
            TIE$SHARE - MATLEQ: 2,0 / MATLEQ: 2,0   
                LIBOTS - MATLEQ: 1,3 / MATLEQ: 1,3   
                    SYS$PUBLIC_VECTORS (dnf)   
                LIBRTL - MATLEQ: 1,1 (dnf)   
                DECC$SHR -> SYS$SHARE:DECC$SHR_EV56 - MATLEQ: 1,1 / MATLEQ: 1,1   
                    LIBRTL - MATLEQ: 1,1 (dnf)   
                    CMA$TIS_SHR - MATLEQ: 1,5 / MATLEQ: 1,5   
                        CMA$TIS_SHR (self)   
                        LIBRTL - MATLEQ: 1,1 (dnf)   
                        LIBOTS - MATLEQ: 1,3 (dnf)   
                        SYS$PUBLIC_VECTORS (dnf)   
                    LIBOTS - MATLEQ: 1,3 (dnf)   
                    DPML$SHR - MATLEQ: 1,0 / MATLEQ: 1,0   
                        DPML$SHR (self)   
                        LIBOTS - MATLEQ: 1,3 (dnf)   
                        LIBRTL - MATLEQ: 1,1 (dnf)   
                        CMA$TIS_SHR - MATLEQ: 1,5 (dnf)   
                        SYS$PUBLIC_VECTORS (dnf)   
                    SYS$PUBLIC_VECTORS (dnf)   
                SYS$BASE_IMAGE (dnf)   
                SYS$PUBLIC_VECTORS (dnf)   
        MTHRTL_TV -> MTHRTL_D53_TV - MATLEQ: 129,32780 / MATLEQ: 129,32780   
            LIBRTL_TV - MATLEQ: 1,14 (dnf)   
            TIE$SHARE - MATLEQ: 2,0 (dnf)   
        TIE$SHARE - MATLEQ: 2,0 (dnf)   
   SYS$PUBLIC_VECTORS (dnf)   
   $   
   $ xpd hello.exe   
   eXternal Procedure and Data list (Alpha), version 1.8   
   VAXCRTL_D56_TV:   
   offset 0x1f0 maps to VAXC$DPRINTF, type is procedure   
   $   
   $ pipe imgexp -v sys$share:VAXCRTL_D56_TV.exe |ggrep VAXC$DPRINTF   
   VAXC$DPRINTF, PRINTF, type is procedure, offset: 0x1f0, value: 0x304d4   
   $   
      
   and with a wrapper for printf ...   
      
   $ cc wrapper/noprefix   
   $ link/map/full/cross hello,wrapper   
   $ r hello   
   world!   
   $   
   $ search hello.map printf   
   DECC$GXPRINTF 000046E0-RX       DECC$SHR_EV56            WRAPPER   
   PRINTF        00010050-R        WRAPPER                  HELLO   
   000046E0     RX-DECC$GXPRINTF   
   00010050      R-PRINTF   
   $   
      
   --- 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