This is the mail archive of the
mailing list for the GCC project.
Re: PR libgcj/40868 - ecjx should be build with host compiler
* Dmitrijs Ledkovs wrote on Tue, Aug 17, 2010 at 03:31:37PM CEST:
> Ralf Wildenhues writes:
> > * Andrew Haley wrote on Mon, Aug 16, 2010 at 11:37:00AM CEST:
> >> -ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
> >> +ecjx_LINK = $(GCC_FOR_ECJX) -c -o $(am_ecjx_OBJECTS) $(top_srcdir)/$(ecjx_SOURCES) && $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
> > Why should a _LINK variable (which is used for linking) contain -c?
> I couldn't figure out making a custom ecjx_COMPILE command for ecjx.cc
> only. Hence I've used a "hack" in _LINK.
If this issue can wait for a few more days, I can look into it
(I forget the GCC build system after a few weeks of not hacking on it).