Re: Can XC link to CW Mach-O libs?
Re: Can XC link to CW Mach-O libs?
- Subject: Re: Can XC link to CW Mach-O libs?
- From: "Mark D. Gerl" <email@hidden>
- Date: Mon, 05 Jan 2004 18:26:48 -0500
On 1/5/04 2:40 PM, Bryan Pietrzak probably wrote:
> Make sure your CW static libraries are named properly: libFoo.a
>
> And make sure you export the symbols properly. I use an .exp file and
> add the underscore to each symbol in there (_FooFunction)
Sheesh...I didn't know you had to have the "lib" prefix AND the ".a" suffix
in order for XC to even try to link with this file. I also had the .exp
file set up correctly.
NOW, I get a linker error message that indicates that CW9 is not generating
the same type of Mach-O format that XC:
ld /Volumes/.../Project/libFoo.a bad magic number (not a Mach-O file)
And, yes, I'm using the Mach-O linker in CW!
--
Mark D. Gerl, email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.