[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] non static libs on windows (dll)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-23 21:16:33 CET

Greg Stein wrote:

>On Fri, Mar 21, 2003 at 10:56:53AM +0100, SteveKing wrote:
>
>
>>>1) Use __cdecl and DEF files. The advantages are that it doesn't require
>>>
>>>
>>any
>>
>>
>>>modifications to the source, that it might lead to slightly faster load
>>>times if ordinals are specified, and that __cdecl is the default calling
>>>convention for C and C++, so programmers wouldn't have to specify it
>>>explicity or wonder which convention to use.
>>>
>>>
>>That would require extra work.
>>
>>
>
>A miniscule amount, actually :-) I just checked in a module to extract
>function names from our headers. It is important to note that our headers
>are *very* regular, stylisticly, and all of our functions are properly
>namespaced which makes them easy to find.
>
Um. We don't have a 1:1 mapping between headers and libraries. So you'll
either have to supply a static mappng that tells you which headers
should be used to generate which DEF files, or you'll have to scan the
sources themselves to figure that out.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 23 21:17:15 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.