Re: Cross-build issues in gdb/gnulib

2015-08-26 Thread Paul_Koning
The gnulib configure machinery doesn't take into account cross-builds. I ran into this while doing a cross-build of GDB. It broke badly on a build=X86_64-linux, host=i386-netbsdelf cross-build, because Linux attempted to execute the generated conftest image (a NetBSD image). That's wrong o

Re: Cross-build issues in gdb/gnulib

2015-08-25 Thread Paul_Koning
> On Aug 25, 2015, at 12:58 PM, Paul Eggert wrote: > > Pedro Alves wrote: >> # Test for the AIX locale name. >>> if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; >>> then >>>gt_cv_locale_ja=ja_JP >>> >>> The comment refers to AIX, but it is in f

Re: Cross-build issues in gdb/gnulib

2015-08-25 Thread Paul_Koning
> On Aug 25, 2015, at 12:58 PM, Paul Eggert wrote: > > Pedro Alves wrote: >> # Test for the AIX locale name. >>> if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; >>> then >>>gt_cv_locale_ja=ja_JP >>> >>> The comment refers to AIX, but it is in f