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: installation problem


> Date: Wed, 12 Apr 2000 13:59:38 -0700 (PDT)
> From: Tom Tromey <tromey@cygnus.com>
> 
> Bryce> This is a common problem on Solaris. It is caused by libtool,
> Bryce> which doesn't support C++ static initializers on Solaris unless
> Bryce> a) you are using the GNU linker, and b) you manage to convince
> Bryce> libtool that you are in fact using the GNU linker (this is the
> Bryce> hard part!).
> 
> Oops.  I thought (and I think Andrew thought) that this was the
> "stupid" (referring to a phase of gcc -- not any of us :-) problem,
> not the Solaris linker problem.

Well, I couldn't be sure, but it was necessary to eliminate that
possible cause.  The symptoms are very similar.

Thanks a lot Bryce.

> Short term, could we detect that gcc isn't using GNU ld and die in
> configure?

That's not a bad idea.  Also, it wouldn't be so hard to detect the
fact that initializers hadn't been run at startup time and print a
diagnostic.

Andrew.


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