On Thu, Feb 15, 2007 at 01:23:42PM +0000, lee nookx wrote: >Hi, > >I was wondering if anyone had had any luck in compiling Mesa for the >Familiar distro (Ipaq). > >I'm trying to do so just now, and there's no explicit arm processor >stuff in the code... I've added a new make target, where I am putting >my compiler settings etc, but I'm stuck because I can't get the system >not to run the binaries from the local machine - I know if you use >configure you can specify a --host= parameter when cross compiling. > > >Can anyone help? or has anyone already done this? > >My compile output is: > > >[EMAIL PROTECTED] Mesa-6.5.2]# make linux-arm >(cd configs && rm -f current && ln -s linux-arm current) >make default >make[1]: Entering directory `/root/Mesa-6.5.2' >make[2]: Entering directory `/root/Mesa-6.5.2/src' >Making sources for linux-arm >mkdir ../lib >make[3]: Entering directory `/root/Mesa-6.5.2/src/mesa' >Makefile:186: depend: No such file or directory >running makedepend >makedepend: warning: /usr/include/gnu/stubs-32.h: non-portable >whitespace encountered at line 7 >make[3]: Leaving directory `/root/Mesa-6.5.2/src/mesa' >make[3]: Entering directory `/root/Mesa-6.5.2/src/mesa' >make[4]: Entering directory `/root/Mesa-6.5.2/src/mesa' >make[5]: Entering directory `/root/Mesa-6.5.2/src/mesa/x86' >arm-linux-gcc -I../../../include/GL -I../../../include -I.. -I../main >-I../math -I../glapi -I../tnl -Wall -Wmissing-prototypes -O2 >-fsigned-char -funroll-loops -fPIC -D_POSIX_SOURCE >-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE >-DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include >-std=c99 -ffast-math gen_matypes.c -o gen_matypes >./gen_matypes > matypes.h >/bin/sh: ./gen_matypes: cannot execute binary file
Usually stuff that is intended to be run on the host (e.g. to create intermediate files) is compiled by HOSTCC / CC_FOR_BUILD >make[5]: *** [matypes.h] Error 126 >make[5]: Leaving directory `/root/Mesa-6.5.2/src/mesa/x86' You cannot use ia32 asm for an arm.. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
