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

Re[2]: link stage ignoring my static lib!


  • Subject: Re[2]: link stage ignoring my static lib!
  • From: Peter Mulholland <email@hidden>
  • Date: Mon, 12 Nov 2007 21:35:38 +0000

Hello Greg,

Monday, November 12, 2007, 9:26:11 PM, you wrote:

> 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?

libGame.a is another Product in the project, so it is in the build
dir.

>  What permissions and ownership does libGame.a have?

-rw-r--r--, jc/admin (jc is my user)

>   How about perm/owner of the dirs leading up to it?

Same, and doesn't matter as i've tried deleting the build dir.

> 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.

Done that. Apart from the working project doing -lGame -lGUID and this
one doing -lGUID -lGame, there's really no difference.

> 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.

To me, it looks like an ld bug. The file is simply being ignored and
there's really no justification for that.

I might try doing the link from Terminal to see what happens.

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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:
    • Re: Re[2]: link stage ignoring my static lib!
      • From: "Mark Wagner" <email@hidden>
References: 
 >Re: link stage ignoring my static lib! (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: link stage ignoring my static lib!
  • Next by Date: Re: optimizing cpp files in Objective C project
  • Previous by thread: Re: link stage ignoring my static lib!
  • Next by thread: Re: Re[2]: link stage ignoring my static lib!
  • Index(es):
    • Date
    • Thread