This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: 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).

Cheers,
Ralf


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