[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

JavaHL with SunONE Compilers

From: Cory Omand <comand_at_blastwave.org>
Date: 2005-10-13 20:01:38 CEST


I'm currently having some difficulty in getting javahl to work properly
when I compile with Sun's compiler suite. The problem comes down to the
differences between g++ and Sun CC. The former automatically links code
to libstdc++, thus pulling in the standard C++ bits such as string and
stream support. Sun's compiler does no such thing -- it requires you to
pass -library=Cstd,Crun to the compiler. Without passing these flags,
loading any classes from javahl fails due to missing symbols.

I added the -library flag to my CXXFLAGS, but this setting does not
appear to be honored by the javahl build environment. Has anyone else
successfully compiled (and then actually used) javahl with the Sun
compiler collection?

Any tips appreciated,

Cory Omand <comand@blastwave.org>
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 13 20:02:56 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.