From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Marcel Ruff Cc: gcc Subject: Re: Static initializer in shared libraries on Linux #2 Date: Sun, 16 Sep 2001 09:13:00 -0000 Message-id: <20010916091255.B1812@lucon.org> References: <3BA4A6A2.5040003@swand.lake.de> X-SW-Source: 2001-09/msg00628.html On Sun, Sep 16, 2001 at 03:18:26PM +0200, Marcel Ruff wrote: > Hi, > > > 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.