This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
got gcc-cvs to compile! [was Re: this pointer off by one?]
Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> >./.libs/libgcj.so: undefined reference to `GC_lock'
> >./.libs/libgcj.so: undefined reference to `GC_pthread_create'
> >./.libs/libgcj.so: undefined reference to `GC_allocate_lock'
> Havn't seen that one. What was your configure command?
Okay, so I gave gcc-cvs one more crack, and it seems to have
compiled. Only thing I changed was tacking this onto the configure
command:
--enable-threads=posix --enable-shared --enable-languages=c++,java
As per the gcj compiling faq. I had been using "--with-threads=posix"
before -- not sure if that is an invalid configure option, though...
The wierd this-ptr-off-by-one error seems to have receded as well, so
it was either a symptom of a mis-install of gcj (my fault) or else a
bug that's already been fixed.
Sorry for the disturbance =)
- a
--
If the Boston Tea Party happened today, our politicians would denounce
it as an act of Terrorism.