Hi Seref,

First off, 22MB for a static lib seems wrong. That may be pulling in a
lot of debug info or something, but it should be more or less the same
size as the DLL.

Second, when you use the import library (basically it replaces each
exported method call by a shim to the DLL method), it's finding the
DLL on the path, otherwise the program would crash when it tries to
call any 0MQ function. If it works, that's because the DLL is on the
path..

Lastly, if Scala basically compiles to C, you should be able to work
either with DLLs or static libs, so long as you use the same build
model consistently. It gets messy if you mix static and dynamic.

-Pieter


On Sun, Jun 5, 2011 at 1:15 PM, Seref Arikan
<[email protected]> wrote:
> Thanks Mikko,
> Though helpful,  this leaves me even more confused :) When I use only
> the import library and headers, my code compiled with Eiffel works
> just fine. Eiffel compiles to C actually, so how on earth my Eiffel
> code is finding the dll and invoking the functions? I guess I need to
> figure this out.
>
> Cheers
> Seref
>
>
> On Sun, Jun 5, 2011 at 8:04 PM, Mikko Koppanen <[email protected]> 
> wrote:
>> On Sun, Jun 5, 2011 at 7:38 PM, Seref Arikan
>> <[email protected]> wrote
>>> So what am I leaving out when I use the lib file from the dll compilation 
>>> setup?
>>
>> Hi,
>>
>> the .lib file generated during DLL build is called "Import Library"
>> and it's used when you want to link against the DLL version of the
>> library. For more information see:
>> http://msdn.microsoft.com/en-us/library/ms682592%28v=vs.85%29.aspx
>>
>> --
>> Mikko Koppanen
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to