Re: GCC, DLLs are accumulated ?
Re: GCC, DLLs are accumulated ?
- Subject: Re: GCC, DLLs are accumulated ?
- From: Ruslan Zasukhin <email@hidden>
- Date: Thu, 21 Sep 2006 18:30:26 +0300
- Thread-topic: GCC, DLLs are accumulated ?
On 9/21/06 4:59 PM, "Peter O'Gorman" <email@hidden> wrote:
Hi Peter,
>> Hi guys,
>>
>> ** We have project A which produce A.DLL that depends on
>> few dlls 1.dll and 2.dll
>
> Okay, so you have libA.dylib that depends on lib1.dylib and
> lib2.dylib, fine. Are lib1 and lib2 installed? Is their final install
> location encoded into libA?
Yes.
>> ** Also we have project that produce B.dll and it should depend on A.dll. It
>> is strange that xcode/gcc want to see in this project also 1.dll and 2.dll
>
> If libB does not directly call any of the symbols exported by lib1 or
> lib2, then you do no need to add them to the project (assuming lib1
> and lib2 are installed in their final install location).
B.dll do not calls libs 1 and 2 directly. That's the point!
Hmm, you talk yet about required INSTALL in place..
Visual and CodeWarrior do not require this...
But even here YES, that dlls ARE in final location: /usr/local/lib
> If it does directly call symbols in lib1 and lib2, then you should add those
> libraries to your project.
If I'd call them directly - then no any questions.
> Anyway, all this talk of hypothetical DLLs is confusing me, it might
> be more helpful if include a real life problem with real errors
> rather than paraphrasing it.
Real life errors are:
For project B:
Link Error:
undefined symbol XXX1 expected by A.dll to be in 1.dll
undefined symbol XXX2 expected by A.dll to be in 1.dll
...
undefined symbol YYY1 expected by A.dll to be in 2.dll
I.e. Simply NOT DEFINED symbol errors. As only I add 1 and 2 dlls into
project all works fine.
Also it is good to note that GCC underlines:
its A dll expect to see that symbol. But not B.dll
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
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