Compile i386 / x86_64 on Mac 10.6
David Shaw
dshaw at jabberwocky.com
Wed Sep 2 16:49:55 CEST 2009
On Sep 2, 2009, at 5:56 AM, Jonas Schnelli wrote:
> Hi
>
> i did try to compile gnupg for mac 10.6 as fat binary i386 / x86_64.
> I've getting a error while compiling multpile archs:
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../intl -arch
> i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp -Wall -Wno-pointer-
> sign -MT logger.o -MD -MP -MF .deps/logger.Tpo -c -o logger.o logger.c
> gcc-4.2: -E, -S, -save-temps and -M options are not allowed with
> multiple -arch flags
> make[2]: *** [logger.o] Error 1
>
>
> is there a chance to build a multiple archs?
Try this:
./configure CFLAGS="-arch x86_64 -arch i386" --disable-dependency-
tracking --disable-asm
(Not tested, as I haven't upgraded to 10.6 yet, but it is correct on
10.5)
David
More information about the Gnupg-devel
mailing list