This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 2.95 core dump with java on Solaris 2.5.1


On Aug 16, 1999, Tom Tromey <tromey@cygnus.com> wrote:

>>>>>> "Gregor" == Frey, Gregor Karl Dr <gregor.karl.frey@sap-ag.de> writes:
Gregor> Both solutions do not work for me:
Gregor> - I don't want to use another but the SUN's linker
Gregor> - Statical linking with libgcj did not made a difference

> I'm a bit suprised that static linking doesn't work.  Can you find out
> why the static constructors are not being run in this case?  (If
> indeed that is what is happening?)

Libtool won't use gcc for linking on Solaris when it detects gcc uses
Sun's ld.  Instead, it will run ld directly, which causes constructors
not to be run.

That's just one of the reasons why the libtool manual says it doesn't
support languages other than C.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]