Patch: enable -fcheck-references for specific targets

Tom Tromey tromey@redhat.com
Wed Mar 27 09:29:00 GMT 2002


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

>> I think the libgcj.spec build bug can be fixed by adding the
>> appropriate -B option to the gcj invocation.  Can you give that a try?

Anthony> Yes, Adding "-B./" fixes it.

I'm not seeing this problem.
In my Makefile, GCJ is defined like so:

GCJ = /x1/gcc3/build/gcc/gcj -B/x1/gcc3/build/i686-pc-linux-gnu/libjava/ -B/x1/gcc3/build/gcc/

If I invoke this by hand with `-v', I see:

    Reading specs from /x1/gcc3/build/gcc/specs
    Reading specs from /x1/gcc3/build/i686-pc-linux-gnu/libjava/libgcj.spec

So it is definitely looking in the build directory.
Do you know why your build isn't?  I assume it doesn't have the -B
option.  Why?

Tom



More information about the Java-patches mailing list