From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3b955c0fc244b234 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,418ceb5a5d0638ed X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-01-29 05:21:01 PST Xref: sparky comp.sys.dec:7213 comp.os.vms:22361 Newsgroups: comp.sys.dec,comp.os.vms Path: sparky!uunet!gatech!rpi!psinntp!psinntp!newstand.syr.edu!rodan.acs.syr.EDU!jareed From: jareed@rodan.acs.syr.EDU (Judith Ann Reed) Subject: Re: Anyone using ALPHA VMS, with Librarian hints? Message-ID: <1993Jan29.082102.21978@newstand.syr.edu> Organization: Syracuse University, Syracuse, NY References: <1993Jan27.003716.3226@decuac.dec.com> <1990@niktow.canisius.edu> <1993Jan28.114604.3920@newstand.syr.edu> Date: Fri, 29 Jan 93 08:21:01 EST Thanks to all who responded to this question. It seems fairly certain that the problem is not with the librarian or linker, but with the FORTRAN compiler on the ALPHA, which is DEC FORTRAN as opposed to VAX FORTRAN. The best explanation I received was as follows: ****************************************************************************** This isn't the linker or the librarian, it's the compiler. On VAX, the Fortran compiler puts out a separate object module definition for each routine; to the librarian, linker, it looks as if each routine is in its own module. On AXP, the compiler, by default, compiles all the routines in a source file into one module. This is why when one routine is extracted, the other comes with it. If you want the VAX behavior, compile with the /SEPARATE_COMPILATION qualifier. See the DEC Fortran for OpenVMS AXP User Manual for more details. ******************************************************************************* The /SEPARATE_COMPILATION qualifier used during compilation does indeed work. Another respondent noted the following, which may be of interest to others working with an ALPHA: ******************************************************************************** BTW, there *ARE* some differences in the linker, especially with regards to sharable images. For example, there are no longer transfer vectors written in Macro, there are symbol vectors specified in the link options file instead. The biggest change is that you need to specify each sharable image that you are dependent on explicitly. For example if you are linking image a which calls both image b and c, and in addition, b calls c, on VAX, you only need to specify b when linking a. On Alpha, you need to say both b and c. This resolves a lot of nasty problems that can appear in VAX. ******************************************************************************** Once again, thanks to those who responded! Judith Reed jareed@mailbox.syr.edu