Re: xorg-server-1.2a3 compilation problem
Re: xorg-server-1.2a3 compilation problem
- Subject: Re: xorg-server-1.2a3 compilation problem
- From: Greg Parker <email@hidden>
- Date: Fri, 2 Nov 2007 12:58:09 -0700
On Nov 2, 2007, at 8:38 AM, Jeremy Huddleston wrote:
# Universal
export CFLAGS="-arch ppc -arch i386 -pipe"
export LDFLAGS="-arch ppc -arch i386 -pipe"
./configure --prefix=/usr/X11 --with-mesa-source=`pwd`/../
Mesa-6.5.2/ --disable-dependency-tracking
In general, this approach is discouraged. `configure` scripts often
create architecture-specific #defines for the project (particularly
endianness and pointer size). The result would be a binary that's
compiled for several architectures, but only runs correctly on the one
that matches the build machine.
The safer way to do this is:
1. configure and build one architecture at a time
2. use `lipo` to combine the results into a single universal binary
file.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden