This is the mail archive of the java-patches@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: retracting my retraction [patch included]


Mohan Embar writes:
 > Hi All,
 > 
 > > > Nope, I still need this one too -- or at least something very close to
 > > > it:
 > > > 
 > > >   Index: configure.ac
 > > >   ===================================================================
 > > >   --- configure.ac        (revision 120101)
 > > >   +++ configure.ac        (working copy)
 > > >   @@ -323,9 +323,9 @@
 > > >             GCC_UNWIND_INCLUDE=
 > > >             GCJ="${target_noncanonical}-gcj"
 > > >          else
 > > >   -         GCJ="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
 > > >   +         GCJ="$built_gcc_dir/gcj -B$built_gcc_dir/"
 > > >          fi
 > > >   
 > > > Specifically, without this patch the build process attempts to invoke
 > > > i386-apple-darwin-gcj (in my case), which does not exist until "make
 > > > install" happens (and even then, it winds up in the install directory,
 > > > not accessible to the build).
 > > > 
 > > > May I commit this patch?
 > >
 > >Yes.
 > 
 > I don't see how this:
 > 
 > > >   +         GCJ="$built_gcc_dir/gcj -B$built_gcc_dir/"
 > 
 > ...could possibly be right. Adam, are you building on Linux or Mactel?
 > What the above line is assuming is that the intermediate compiler is
 > suitable for building libgcj. This is only true when build=host, which
 > clearly isn't true for the case when we want to build an i686-pc-mingw32
 > compiler on i686-pc-linux-gnu using a cross compiler.

Mmm, you're right, and I was wrong.  Seems like Adam has a localized
configuration issue.

Andrew.


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