This is the mail archive of the 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: [build] Link genmatch with $(LIBINTL)

On Wed, 22 Oct 2014, Richard Biener wrote:

> On October 22, 2014 7:19:33 PM CEST, "Joseph S. Myers" <> wrote:
> >On Wed, 22 Oct 2014, Rainer Orth wrote:
> >
> >> 2014-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> >> 
> >> 	* (build/genmatch(build_exeext)): Add $(LIBINTL) to
> >> 	Add $(LIBINTL_DEP) dependency.
> >
> >No, this doesn't look right.  A program built for the build system
> >needs 
> >to use build versions of all relevant libraries, not host versions. 
> >That 
> >means $(BUILD_LIBIBERTY) not host libiberty, and build versions of
> >libcpp 
> >and libintl if those are now needed for something built for the build 
> >system.  That in turn needs toplevel changes to add libcpp and intl to 
> >build_modules.
> I suppose we should build the build variant of libcpp without NLS support instead.

Indeed, that would avoid various complications such as configure options 
for where to find libiconv only being correct for the host and not the 
build system.

Joseph S. Myers

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