"BLOCK DATA" blues

From: Michael Yoshpe (myoshpe_at_)
Date: 12/28/04

  • Next message: Steve Lionel: "Re: "BLOCK DATA" blues"
    Date: Tue, 28 Dec 2004 16:17:04 +0200
    
    

    I maintain a mixed-language (C-FORTRAN) project, using Compaq Visual Fortran
    6.6C. A small C driver calls a FORTRAN subroutine, which in turn calls many
    other fortran subroutines. Some of the tables in these subroutines are
    initialized with BLOCK DATA construct. As long as i built a console exe
    application from all files at once, everything worked fine. But recently i
    decided to build a static library from all fortran routines, and include the
    project that builds this library as a depended project. Suddenly, all the
    tables that were initiated with BLOCK DATA became blank. Any suggestions?

    Mike


  • Next message: Steve Lionel: "Re: "BLOCK DATA" blues"

    Relevant Pages

    • Re: "BLOCK DATA" blues
      ... A small C driver calls a FORTRAN subroutine, ... > tables that were initiated with BLOCK DATA became blank. ... Give the linker better instructions on what to look for. ... current linkers and their common usage styles. ...
      (comp.lang.fortran)
    • Re: "BLOCK DATA" blues
      ... A small C driver calls a FORTRAN subroutine, ... > project that builds this library as a depended project. ... > tables that were initiated with BLOCK DATA became blank. ... Also, skip static lib antiquities, in CVF it's faster and easier to ...
      (comp.lang.fortran)