• 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
Can I use a global in one lib that's defined in another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can I use a global in one lib that's defined in another?


  • Subject: Can I use a global in one lib that's defined in another?
  • From: "Ando Sonenblick" <email@hidden>
  • Date: Mon, 22 Aug 2005 14:42:33 -0700
  • Thread-topic: Can I use a global in one lib that's defined in another?

Gang,

 

I have  a bunch of static libs that I’m porting from CW to Xcode.

 

I’m getting link errors and have discovered that Lib A uses a global variable that is defined in Lib B.  (Lib A simply externs it).

 

Will this work now that I’m building my static libs in Xcode?  Evidently it doesn’t (or I need to set one of the very few and very intuitive compiler/linker settings)….  J

 

Thx,

Ando

 

 _______________________________________________
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: Re: making a framework...
  • Next by Date: Re: Header/library version mismatches
  • Previous by thread: What exactly does this mean?
  • Next by thread: [Urgent]Integerating Existing cocoa+c application with java through JNI
  • Index(es):
    • Date
    • Thread