This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ecj] top-level configure unhappy if host or build not set


>>>>> "Adam" == Adam Megacz <adam@megacz.com> writes:

Adam> I don't know if this is just on the ecj branch or not, but in the
Adam> top-level configure script, line 2093, we have
Adam>   if test $host != $build; then
Adam> which doesn't work if either host="" or build="".

I see this same code on mainline.

Adam> Any recommendations on how I should go about fixing this?

Offhand I'd say that it shouldn't be possible for either of these to
be empty.  How is that happening?

It is hard to read configure but it looks to me like these are
unconditionally computed; look around line 645.  For debugging, in
case you need to know :), I'll often edit in a 'set -x'/'set +x' pair
to see what is really going on...

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]