[PD] pd.lib

Hans-Christoph Steiner hans at at.or.at
Sun Sep 27 22:29:22 CEST 2009


On Sep 27, 2009, at 3:58 PM, Martin Peach wrote:

> Hans-Christoph Steiner wrote:
>> On Sep 24, 2009, at 8:47 AM, Martin Peach wrote:
>>> brandt at subnet.at wrote:
>>>> Hi
>>>> can anybody help me to find pd.lib?
>>>
>>> It's in the pd/bin folder of Miller's Windows versions.
>>>
>>> It would be nice if it (or at least a list of exported symbols)  
>>> was included in the autobuilds for Windows but it isn't, I guess  
>>> because MinGW and Cygwin don't require it for linking.
>> Feel free to make this change directly in the Pd-extended branch.   
>> I think it would just be a matter of editing makefile.mingw to make  
>> it generate the files you want, then adding those files to the  
>> packages/win32_inno/pd-inno.iss.in so that they are included in the  
>> installer.
>
> OK I just added code to create a pddll.def file. This can then be  
> used to make a pd.lib in MSVC, so externals for pd-extended may be  
> built using MSVC. (as long as they don't pass file handles across  
> the dll boundary -- an issue involving different c runtimes having  
> different FILE structs)
> (Other possibilities: Perhaps libpd.a can be used directly just by  
> renaming it pd.lib (but it is currently not installed into pd/bin),  
> or nm can be used to extract the symbols from pd.dll (but this must  
> be done before it is stripped.))
>
> packages/win32_inno/pd-inno.iss.in already copies everything in pd/ 
> bin to pd/bin so no change seems needed there.
>
> I notice there is already a pdtcl.def file being created using  
> pdtcl.dll, but it doesn't seem to be used or installed.
>
> I'll check tomorrow's build to see if it worked.
>
> Martin

I know nothing of MS's compiler, only gcc, so sorry I can't be of more  
help there.  But in theory, libpd.a sounds like pd.lib to me.

.hc

----------------------------------------------------------------------------

I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.      - Martin  
Luther King, Jr.






More information about the Pd-list mailing list