This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Static initializer in shared libraries on Linux #2
- To: Marcel Ruff <ruff at swand dot lake dot de>
- Subject: Re: Static initializer in shared libraries on Linux #2
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 16 Sep 2001 09:12:55 -0700
- Cc: gcc <gcc at gcc dot gnu dot org>
- References: <3BA4A6A2.5040003@swand.lake.de>
On Sun, Sep 16, 2001 at 03:18:26PM +0200, Marcel Ruff wrote:
> Hi,
>
> <more>
> I forgot to mention that if i compile
> xy.C to an executable, it runs fine,
> but if xy.C is compiled to a shared library,
> and invoked thru a java virtual machine ('no main()')
> it fails as noted below
Please provide a small, complete testcase.
H.J.