Problem cross-building xorg7rc2

Enrico Weigelt weigelt at metux.de
Mon Nov 14 19:48:44 PST 2005


* Felix Kühling <fxkuehl at gmx.de> wrote:

<snip>

> For reference, this is how I configured libX11-0.99.3:
> 
>   export CC=.../x86_64-unknown-linux-gnu-gcc
>   export CXX=.../x86_64-unknown-linux-gnu-g++
>   ./configure --host=x86_64-unknown-linux-gnu --prefix=~/xorg7rc2_xf64a --local-state-dir=/var --enable-static=no --disable-debug
> 
> And the last couple of lines of build log:
> 
> /home/fkuehlin/perforce/fkuehlin-lnx-dk/gcc/3.3.3-amd64/bin/x86_64-unknown-linux-gnu-gcc  -O2   -o makekeys  makekeys-makekeys.o  -ldl
> make[2]: Leaving directory `/home/fkuehlin/src/xorg7rc2_xf64a/libX11-0.99.3/src/util'
> ../src/util/makekeys < /home/fkuehlin/xorg7rc2_xf64a/include/X11/keysymdef.h > ks_tables_h
> /bin/sh: ../src/util/makekeys: cannot execute binary file

Common autoshit problem. It cannot distinguis between separate 
toolchains for build and target system. (not a bug, yet another 
misdesign). 

This could be easily circumvented if 'makesys' was an extra 
package to be installed on the build system (as a tool), 
which IMHO seems to be the cleanest method anyway.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------


More information about the xorg-modular mailing list