• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Link-time optimization and Xcode 3.2.5/iOS 4.2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link-time optimization and Xcode 3.2.5/iOS 4.2.1


  • Subject: Link-time optimization and Xcode 3.2.5/iOS 4.2.1
  • From: Glen Low <email@hidden>
  • Date: Wed, 2 Feb 2011 10:48:04 +0800

Hi All

How do I get Link-time Optimization to work in Xcode 3.2.5 + iOS 4.2.1 SDK?

When I create a new Window-based project and set

C/C++ Compiler Version = LLVM compiler 1.6
Link-Time Optimization (Compiler Code Generation) = checked on

and build, the object files look to be built but the linker errors with:

ld: warning: in /Users/glenlow/Programs/LTO/build/LTO.build/Debug-iphoneos/LTO.build/Objects-normal/armv7/main.o, file was built for arm which is not the architecture being linked (armv7)



Running file on the object files, which I surmise to be LLVM bytecode, returns this:

./LTO.build/Debug-iphoneos/LTO.build/Objects-normal/armv7/main.o: Compiled PSI (v1) data

Does LTO still strip debug symbols from the resulting executable? Would I be able to symbolicate the executable e.g. if I ship it through the App Store and get a crash report, would I be able to make sense of it?

Cheers,
Glen Low
Pixelglow Software
 _______________________________________________
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

  • Prev by Date: Build settings not exported to environment for run script build phase
  • Next by Date: Xcode 3.2.5 Bugs that need to be fixed
  • Previous by thread: Build settings not exported to environment for run script build phase
  • Next by thread: Xcode 3.2.5 Bugs that need to be fixed
  • Index(es):
    • Date
    • Thread