This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: darwin and java status
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: GCC-Java <java at gcc dot gnu dot org>
- Date: Thu, 07 Feb 2002 23:43:42 +1300
- Subject: Re: darwin and java status
- References: <3C618B96.558A4382@pop.agri.ch> <3C624DD1.368A3A48@pop.agri.ch>
Andreas Tobler wrote:
>>One odd thing I see, I have to point the CLASSPATH to the libjava build
>>directory (the installation directory doesn't work), also the .class
>>file has to be there otherwise I get a Bus Error (from gij, the binary
>>can sit where it wants). This I don't understand. I can provide a
>>backtrace from gdb.
>>
>
>After setting up the classpath as this (installation dir of gcc)
>
>setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/share
>setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/lib
>setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/bin
>
>I no more get Bus Errors and I can run the gij where I want with a
>.class file sitting somewhere.
>
>Did I miss a FAQ?
>
No. You should not need to set CLASSPATH to use gij (unless you have
your own classes of course). What happens when you try to debug this in gdb?
regards
Bryce.