Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
How to use XCode Static Lib in CodeWarrior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use XCode Static Lib in CodeWarrior



Hi All,

I have OSX 10.4.3, CW 5.5.3, XCode 2.2 and ...

I have created a static lib in xcode. It has very few functions and I only need to export one
of them.


I load my bundle project in CodeWarrior and add the .h file which
corresponds to the lib functions I want to use. I add the lib file
(MyLib.a) into my CodeWarrior project by clicking "Add Files' on
Libraries.

When I try to make my project in CodeWarrior I get an error saying
"Internal Mach-O Importer Error File 'ImportMach0.c' Line 1925
unsupported or unknown reloc type 15 {scattered, hunk-type = 29592}"

Any one know how I can do this? Am I missing something fundamental?

Thanks in advance,

Kind Regards,
C.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: 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 © 2011 Apple Inc. All rights reserved.