• 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 19:47:14 +0000

Hello Greg,

Monday, November 12, 2007, 6:14:14 PM, you wrote:

> Peter Mulholland wrote:

>>Those undefined symbols are in libGame.a - but ld has ignored the file
>>completely!

> Does your Game lib have an fopen() function in it?

It has an _fopen() function. This shouldn't be the problem, the
"working" project is the same.

In case you're wondering, the _fopen() does a conversion of
Windows-style file paths to UNIX style ones. Yes - this is a port ;)

> If that's the case, it makes me wonder whether libGame was compiled as C or
> C++,

C++

> and consequently, whether the synbols in the compiled lib are defined
> as mangled C++ names or as unmangled C names.

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


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

References: 
 >Re: link stage ignoring my static lib! (From: Greg Guerin <email@hidden>)

  • Prev by Date: Debugging SenTestingKit UnitTests on Leopard
  • Next by Date: Re[2]: link stage ignoring my static lib!
  • Previous by thread: Re: link stage ignoring my static lib!
  • Next by thread: Re: link stage ignoring my static lib!
  • Index(es):
    • Date
    • Thread