Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Universal questions



I'm migrating a CW app to be xcode and universal.
I've moved the 5 static libs to xcode and the app on 10.2.4u ppc. It works!
I've built the 5 static libs to be universal ppc 10.3.9 and i386 10.2.4u
I've built the app using 10.2.4u for ppc & i386. It works.


Now when I set
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
I get this link error

/usr/bin/ld: Undefined symbols:
_sprintf$LDBLStub
_vsprintf$LDBLStub
_sscanf$LDBLStub
_strtold$LDBLStub
collect2: ld returned 1 exit status

I did a kext with the same universal settings and it succeeds. So what's the issue here?

On the successful build, I also get this link warning.
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
Is there a setting I'm missing? Is this related to above error?


Lastly, the app still uses a .rsrc file. No matter how I try to configure xcode, it copies the .rsrc file to bundle as empty; like it's skipping the resource fork. So each time, I have to hand copy the .rsrc file into the bundle. Is there a better way?

Thanks
Bill Rector



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.