-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Egbert Eich wrote:
> The patch below allows 32bit builds of Mesa
> on 64bit (especially x86_64) systems.
> The '-m32' option for gcc/g++ should work with all
> versions of gcc >= 3.0 - also on ia32.
> 
> Egbert.
> 
> 
> Index: configs/linux-dri-x86
> ===================================================================
> RCS file: /cvs/mesa/Mesa/configs/linux-dri-x86,v
> retrieving revision 1.9
> diff -u -r1.9 linux-dri-x86
> --- configs/linux-dri-x86     25 Sep 2004 07:11:12 -0000      1.9
> +++ configs/linux-dri-x86     13 Jul 2005 14:36:27 -0000
> @@ -10,3 +10,5 @@
>  
>  ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
>  ASM_SOURCES = $(X86_SOURCES)
> +CC = gcc -m32
> +CXX = g++ -m32

Please don't do this.  This is the purpose for which ARCH_FLAGS was
created.  I'm pretty sure there's even a comment in the Makefile to this
effect.  As was discussed about a week ago, trying to do this on gcc
2.96, for example, will fail.  Instead just do 'make linux-dri-x86
ARCH_FLAGS=-m32' and everything will be fine.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC2BWfX1gOwKyEAw8RAkJuAKCZP1IQIbHVAUX+dfidYudVu1B77wCdGUUj
g/J44ZS286j2q/COPuTLJ1U=
=0J77
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to