Go Back   The iPhone Blog Forums > iPhone Plus > iPhone Developer Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2009, 10:32 PM
iPhone Nanite
 
Join Date: Oct 2009
Posts: 1
owenl is on a distinguished road
Default How to link an arm .o file into an Xcode project

I have a gnu built object file I need to include in an Xcode iPhone project. The .o file format is arm, via 'otool -h':

Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
0xfeedface 12 0 0x00 1 3 1316 0x00002000

But Xcode rejects it, complaining that "file is not of required architecture". It accepts arm6 files (e.g. cpusubtype=6) but I am struggling to modify the GNU makefile to produce arm6 libraries.

Is there an Xcode project setting that allows linking in arm object files?

Environment:
Xcode: 3.1.4
iPhone SDK: 2.2.1
Arch: Standard (armv6)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 08:02 PM.

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
The iPhone Blog