• 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
RE: Framework problem when linking in Release mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Framework problem when linking in Release mode


  • Subject: RE: Framework problem when linking in Release mode
  • From: "Greg Norz" <email@hidden>
  • Date: Fri, 3 Feb 2006 11:29:42 -0600
  • Thread-topic: Framework problem when linking in Release mode

| On my beloved G5, I got one warning, that I cannot fix, when
| I build  a project that uses one of my framework (recompiled
| with XCode 2.2):
| "cputype (18, architecture ppc) does not match cputype (7)
| for specified -arch flag i386.
| Then I get an error "undifined symbols" the Framework
| functions  called into my project are not included
|
| In "Info", the different settings are
| Architecture: $(NATIVE_ARCH)
| instruction scheduling: PowerPC G5
|
| Cross_Develop Using Targt SDK: Current Mac OS (instead of
| MacOS X 10.4, but MAC OSX 10.4 doesn't help) I supposed I
| miss a setting somewhere, but I didn't see any flag to
| specify PPC (except instruction scheduling) I also swap
| "Architecture" to PPC, but the problem still exists.
|
| This is very strange since its works correctly in Debug (link with PPC
| version) but not in Release (link with i386 version)

By default, the Debug version only builds for the current architecture
(in your case, PPC), and the Release version builds for both PPC and
i386. Is your framework building with both of those options? If you're
just linking in an old framework and haven't recompiled for i386, then
you'll get the link errors when the i386 version of your code builds.

I initially had this problem with Xerces, but editing the project and
rebuilding solved my Release linkage problems.

Hope that helps,

greg norz
southwest airlines || southwest.com
email@hidden

Wright is Wrong! - www.setlovefree.com
 _______________________________________________
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

  • Follow-Ups:
    • Create Simple Java Target/Executable
      • From: "John Huss" <email@hidden>
  • Prev by Date: Re: linker search path "bug" (aka "Behaves correctly")
  • Next by Date: Re: Debugger can't deal with source?
  • Previous by thread: Framework problem when linking in Release mode
  • Next by thread: Create Simple Java Target/Executable
  • Index(es):
    • Date
    • Thread