Re[2]: link stage ignoring my static lib!
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