This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: enable -fcheck-references for specific targets
Tom Tromey writes:
> >>>>> "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?
Is it something silly that depends on whether configure is invoked
with a relative path? Just a guess.
Andrew.