This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Solaris redux
>>>>> "JS" == Jeff Sturm <jsturm@one-point.com> writes:
MD> Strange, I had the opposite problem a few days ago. I didn't
MD> realize at first that --with-gnu-as and --with-gnu-ld were not
MD> sufficient to get GNU as and ld and that I actually had to use
MD> --with-as=path and --with-ld=path to force usage of them.
JS> Yep. With the former you must be careful that the GNU tools are
JS> first in your PATH.
They were, but it still took the /usr/ccs stuff.
JS> For me, anything created with native binutils 2.10.1 segfaults in
JS> the static destructor. But a cross toolchain built with the very
JS> same sources works fine. Weird.
With the native Solaris tools, I had some assembly code from libjava
that failed to assemble. I wonder if you can get the opposite behavior
here too? ;)