Re: "BLOCK DATA" blues

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


Date: Tue, 28 Dec 2004 16:35:23 +0200

Already did that, with same results... The tables are still blank

"Steve Lionel" <steve.lionel@NOintelSPAM.com> wrote in message
news:btqdnbqpHp3v80zcRVn-sg@comcast.com...
> Michael Yoshpe <myoshpe@ wrote:
> > 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?
>
> Add the line:
>
> external block_data_name
>
> (where block_data_name is the name of your BLOCK DATA subprogram) to the
> main program. This is a common issue across compilers and platforms
> when using libraries. The linker need to know to pull in the object
> code that does the initialization.
>
> Steve



Relevant Pages

  • glext++
    ... The purpose of the library is to provide Yet Another OpenGL Extension ... Initialization Library and platform abstraction between ... libraries existed. ... These methods are related to context creation and abstracting platform ...
    (comp.graphics.api.opengl)
  • Re: How to get imagebase after a DLL gets loaded
    ... how can you be unaware of the names of variables in DLL module that you ... Implementing a library that requires users of the library to instantiate ... predict what variable name you will use at initialization time. ... Some third-party libraries DO require that you instantiate a pre-defined ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CFO: Why C?
    ... OTOH other languages define initialization and finalization ... without explicit code. ... machine specific libraries are used, and none of the standard C libraries. ... How do you ever intend to control what the linker imports from some library? ...
    (comp.os.linux.development.apps)
  • Re: How to get imagebase after a DLL gets loaded
    ... During the process of building the DLL, ... Implementing a library that requires users of the library to instantiate ... predict what variable name you will use at initialization time. ... Some third-party libraries DO require that you instantiate a pre-defined ...
    (microsoft.public.win32.programmer.kernel)
  • Realview region tables and data initialization
    ... Has any one had experience with setting up "Bare Projects" (ie do not use ... libraries) in Realview. ... own Data initialization and Zero Initialization code they do not provide (or ...
    (comp.sys.arm)