• 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
A way to tell Xcode to link ALL object files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A way to tell Xcode to link ALL object files


  • Subject: A way to tell Xcode to link ALL object files
  • From: Lars Pastewka <email@hidden>
  • Date: Thu, 30 Oct 2003 08:34:33 +0100

I'm using Xcode to work on a project involving object factories. Those are implemented in such a manner that the registration of a new class is done in the file the class implementation is in (one of the actual statements to register a factory looks like "const Postprocessor_Register<OutputFile> output_file("OutputFile");"). This of course means there is no reference to any of these classes outside the file where the class is implemented in. So Xcode (ZeroLink or the linker) thinks this file isn't used and doesn't link it to the rest of the program. Is there any way to tell Xcode to link those files despite the fact there is no part of the program actually referring to them?

Thanks in advance,
Lars
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: XCode problem
  • Next by Date: Committing changes to the project file in Xcode
  • Previous by thread: XCode problem
  • Next by thread: Committing changes to the project file in Xcode
  • Index(es):
    • Date
    • Thread