Precompiled headers and universal binaries
Precompiled headers and universal binaries
- Subject: Precompiled headers and universal binaries
- From: Martin Storsjö <email@hidden>
- Date: Thu, 6 Jul 2006 08:07:56 +0300 (EEST)
Hi,
Is precompiled headers supported when building universal binaries from the
commandline for both architectures at the same time?
I've used to build precompiled headers using a command like this:
cc -c -x objective-c++-header file.h -o file.h.gch
While building universal binaries, I've added -arch ppc -arch i386 to the
CFLAGS, but this gives me an error:
lipo: can't figure out the architecture type of: /var/tmp//ccM1wnO4.out
Is this scenario supported at all, or am I forced to compile the
architectures separately (as xcode does) and merge them manually
afterwards?
// Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden