lib does not match cputype
lib does not match cputype
- Subject: lib does not match cputype
- From: Michael Hanna <email@hidden>
- Date: Thu, 22 Dec 2005 15:56:22 -0800
hi, at the commandline:
env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc" LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/
MacOSX10.4u.sdk" ./configure --disable-dependency-tracking
in XCode 2.2:
set Architecture to both ppc i386
I put the libraries in Linked Frameworks group, and added them to the
Link Binary with Libraries node.
at build:
/usr/bin/ld: warning /Users/tao/SimplePlayFile/libSoundTouch.a
archive's cputype (18, architecture ppc) does not match cputype (7)
for specified -arch flag: i386 (can't load from it)
any ideas why I still get the warning?
_______________________________________________
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