Re: ZeroLink: when to use
Re: ZeroLink: when to use
- Subject: Re: ZeroLink: when to use
- From: Markian Hlynka <email@hidden>
- Date: Wed, 9 Jun 2004 01:18:28 -0600
On Jun 8, 2004, at 18:13, Nick Zitzmann wrote:
On Jun 8, 2004, at 11:32 AM, Willard Myers wrote:
I'm guessing that the stdc++ library used by ZeroLink has a problem
that isn't in the normal library.
Advice sought :-<
I don't mean to be blunt, but if you had searched the archives at
<http://search.lists.apple.com/>, you would have found that you can't
currently use ZeroLink with a project that links to shared C++
libraries such as libstdc++:
<http://lists.apple.com/archives/xcode-users/2004/Jan/09/
zerolinkproblem.001.txt>
From the archive:
There are four instances in which you can not use ZeroLink:
1. You are writing an Objective-C program, or using a library, that
requires that the entire list of classes be available at startup time,
such as the OmniBase framework's OBPostLoader class.
2. You are writing a C or Objective-C program that calls functions
whose symbols are not exported, such as functions that are marked as
__private_extern__.
3. You are writing a C++ program, since C++ applications and shared
libraries run in their own separate spaces, and GCC enforces this
separation by marking compiler-generated methods as __private_extern__
(see #2 above).
4. Obviously, you also can't use ZeroLink for deployment of an
application, although that hasn't stopped some people from trying. <;*)
So, Nick, I have a question.
Does #3 mean I ought _never to use ZeroLink with C++? I've been using
it, and getting warnings upon running, which is what I was going to
originally ask. They look like this:
ZeroLink: warning duplicate symbol:
_Z20CalculateElapsedTimeR12__MyTimeData.eh
will use:
/Users/markian/Documents/Development/PhD/Post-Candidacy/CodeGen/
codegeneration/build/codegeneration.build/Halma.build/Objects-normal/
ppc/interface.ob
also in:
/Users/markian/Documents/Development/PhD/Post-Candidacy/CodeGen/
codegeneration/build/codegeneration.build/Halma.build/Objects-normal/
ppc/Search.ob
ZeroLink: warning duplicate symbol:
__Z20CalculateElapsedTimeR12__MyTimeData
will use:
/Users/markian/Documents/Development/PhD/Post-Candidacy/CodeGen/
codegeneration/build/codegeneration.build/Halma.build/Objects-normal/
ppc/interface.ob
also in:
/Users/markian/Documents/Development/PhD/Post-Candidacy/CodeGen/
codegeneration/build/codegeneration.build/Halma.build/Objects-normal/
ppc/Search.ob
Is this normal? or is Zerolink supposed to do this? Or is this the
result of number 3 above, and I'm just not understanding it?
Thanks,
Markian
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.