• 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: Can't tell build configurations to use different libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't tell build configurations to use different libraries


  • Subject: Re: Can't tell build configurations to use different libraries
  • From: Eric Albert <email@hidden>
  • Date: Fri, 19 Aug 2005 02:33:13 -0700

On Aug 18, 2005, at 11:22 PM, Dix Lorenz wrote:

On 19.08.2005, at 04:12, Scott Tooker wrote:

Right now the only way to workaround the problem is to pass in the library in via "Other Linker Flags" to have the appropriate library linked in.

We are aware of the limitation that configurations cannot use different sets of files when building, and want to fix it in a future release.

Oh, and while you're busy doing that: how about different files for different architectures? My files with Altivec-Code shouldn't be included in my i386 builds and my future files with SSE-Code shouldn't be in PPC-Builds. It's relatively simple to bracket the whole code in the file with #if __VEC__ but I think it's ugly and if you don't have the source that won't work.

If you don't have the source, you don't have a compilation problem; you have a linker problem. If you want to link in different files for different architectures, you can use OTHER_LDFLAGS_i386 and OTHER_LDFLAGS_ppc to specify those files. See p.19 of the Universal Binary Programming Guidelines.


Hope this helps,
Eric

_______________________________________________
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


References: 
 >Can't tell build configurations to use different libraries (From: "Starman" <email@hidden>)
 >Re: Can't tell build configurations to use different libraries (From: Rush Manbert <email@hidden>)
 >Re: Can't tell build configurations to use different libraries (From: Dave Thorup <email@hidden>)
 >Re: Can't tell build configurations to use different libraries (From: Scott Tooker <email@hidden>)
 >Re: Can't tell build configurations to use different libraries (From: Dix Lorenz <email@hidden>)

  • Prev by Date: How to stop set_debug_pwd at head of Info.plist file
  • Next by Date: Re: How to stop set_debug_pwd at head of Info.plist file
  • Previous by thread: Re: Can't tell build configurations to use different libraries
  • Next by thread: NSPersistentDocument Core Data Tutorial
  • Index(es):
    • Date
    • Thread