This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [RFA] Fix bin2c executable generation for cross-generation


> The patch below uses -lintl instead of $(LIBINTL)
> for bin2c$(EXEEXT_FOR_BUILD) rule.
> This allowed me to complete this build.
> 
> 
>  Is this patch OK?

I don't think so because libintl is not required (ie you can build with
--disable-libintl).
I can't find the issue but why this concerns only bin2c ?


Hi Tristan,

  The fact is that it is the only rule that
uses $(LIBINTL) for a rule that has to be build 
with build gcc, while $(LIBINTL) is a host file,
thus of incompatible type.

  Should "--disable-libintl" apply to host or to build
or to both?

  If you know how to change -lintl into "" if --disable-libintl
is set, this would be fine for me, but I am still not
really at ease when it comes to configure subtleties.

  Anyhow, something needs to be changed...

Pierre
 
PS: Maybe we should add a LIBINTL_FOR_BUILD to configure?



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