Re: "file was built for archive which is not the architecture being linked (armv6)"
Re: "file was built for archive which is not the architecture being linked (armv6)"
- Subject: Re: "file was built for archive which is not the architecture being linked (armv6)"
- From: Jerry Gagelman <email@hidden>
- Date: Mon, 21 Mar 2011 10:17:02 +0100
"Archive" is just another word for static library. It's difficult to triangulate your problem without more information. How exactly did you set up the project for building a Boost library? A single target? One trivial thing to check would be to examine the target "build settings" under the "levels" view for all of the targets. It sounds like the settings under the Architectures tab are different from one target to another.
-- Jerry
On Mon, Mar 21, 2011 at 07:40, G S
<email@hidden> wrote:
Hi all.
I built a Boost lib for static linking, with Xcode 4 in an attempt to address the problem in my previous post (weak-symbol compiler complaint). Now I'm getting the above error.
So now there's an architecture called "archive"? What is that, and why does the linker think that this lib was built for it? The project I used to build it is set to "Standard (armv6, armv7)" for both Release and Debug.
I looked at the doc and didn't find any obvious explanation.
Thanks!
_______________________________________________
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
--
_______________________________________________
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