• 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: link stage ignoring my static lib!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link stage ignoring my static lib!


  • Subject: Re: link stage ignoring my static lib!
  • From: Greg Guerin <email@hidden>
  • Date: Mon, 12 Nov 2007 14:26:11 -0700

Peter Mulholland wrote:

>C++ names, but as I've said this isn't the problem. If you look at the
>output of ld with the -t switch added, you'll see that ld *doesnt even
>parse* libGame.a

In which dir is libGame.a located?  What permissions and ownership does
libGame.a have?  How about perm/owner of the dirs leading up to it?

I also recommend that you carefully dissect the settings on the project
that works and compare against the project that does, and if nothing is
obvious, dissect the build transcript of the project that works.  In
particular, I'd look very carefully at the order of -L and -l elements of
the project that works, and also at the 'ld -t' output from the project
that works.

You're the only one who has access to both the known-good and known-bad
projects, and it seems like some minute detail is responsible for the
discrepancy.  The only way to solve the problem that I can think of is to
eliminate all the details in common, and whatever is left must contain the
significant difference, however small or unassuming it may seem.

  -- GG


 _______________________________________________
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: optimizing cpp files in Objective C project
  • Next by Date: Re[2]: link stage ignoring my static lib!
  • Previous by thread: Re[2]: link stage ignoring my static lib!
  • Next by thread: Re[2]: link stage ignoring my static lib!
  • Index(es):
    • Date
    • Thread