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: [gcj-eclipse-merge-branch] MinGW ecj: Cross-built ecjx?!


Mohan Embar writes:
 > FYI: 
 > 
 > >Nevertheless, I'm surprised things went as well as they did. The cross-built
 > >ecjx.exe is going to be a tougher nut to crack, though....
 > 
 > I tried doing a Windows native build using Cygwin bash, but
 > make chokes on something. I'm stuck until I get more input.
 > I want to pursue the cross compilation, but I need to know more
 > about what ecjx is, how it really should be built, etc.
 > 
 > I'm suspecting that for cross builds, the only recourse is to
 > have a working native gcj compiler to build ecjx, but I'm unclear
 > about how the cross builds of other things like jc1 work as far
 > as being built with a native compiler, but being able to generate
 > object code for the target.

You don't need ecj1 to build libgcj.  You only need ecj1 if you are
going to recompile any of libgcj from source.  That will only happen
if you need to change any of the gcj java sources.

ecj1 _only_ gets called at build time if you use
--enable-maintainer-mode.  You don't need to do that to build a
cross-compiler.

Andrew.


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