Re: "BLOCK DATA" blues

From: bv (bvoh_at_Xsdynamix.com)
Date: 12/29/04

  • Next message: prashna: "List of basic question.Please Help."
    Date: Wed, 29 Dec 2004 00:20:15 GMT
    
    

    "Michael Yoshpe
    >
    > 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?

    Get rid of the block data and replace it with a regular subroutine.
    Also, skip static lib antiquities, in CVF it's faster and easier to
    construct a dll.


  • Next message: prashna: "List of basic question.Please Help."
  • Quantcast