Created attachment 17331 [details] [review] Use native compiler to build "makekeys" tool When I try to cross-compile libX11-1.0.4, I get the following compile error: ../src/util/makekeys < /opt/freescale/wxX11/targetfs/include/X11/keysymdef.h > ks_tables_h /bin/sh: ../src/util/makekeys: cannot execute binary file make[2]: *** [ks_tables.h] Error 126 The problem is that "makekeys" has been compiled with the cross-compiler and is therefore not executable on the host system. I fixed this by overriding the "CC" variable when building the "util" directory, see attached patch. I don't know if there is something in autotools that gives you the native compiler; right now I hardcoded it to "gcc".
*** This bug has been marked as a duplicate of bug 6669 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.