On 28/8/12 07:56, Adam Twardoch (List) wrote:
Behdad,

I wonder if you could make the building process of HarfBuzz easier so
that it builds on multiple architectures out of the box, without manual
"lipo" tricks?

When I try to do the "standard thing" on Mac OS X (using harfbuzz
0.9.3), which is run ./configure like that:

CFLAGS=" -Os -arch i386 -arch x86_64" CPPFLAGS=" -Os -arch i386 -arch
x86_64" CXXFLAGS=" -Os -arch i386 -arch x86_64" ./configure

I get:

checking how to run the C preprocessor... /lib/cpp
configure: error: in
`/Volumes/GuildensternHD2/adam/Dropbox/adam/Documents/FontLab/_Ins_OSS/harfbuzz/harfbuzz-0.9.3':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

FWIW, if you remove the CPPFLAGS setting and just specify CFLAGS and CXXFLAGS, then configure runs successfully.

However, gcc then complains at compile time:

g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

So that didn't get us very much further...

JK
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to