[PD-dev] building Pd with makefile.msvc

IOhannes m zmoelnig zmoelnig at iem.at
Thu Jun 29 14:27:24 CEST 2017


On 2017-06-29 13:55, Dan Wilcox wrote:
> 
>> On 06/28/2017 04:20 AM, Dan Wilcox wrote:
>>>    # statically link pthread into the exe, otherwise we get a missing dll error
>>>    LIBS="-Wl,-Bstatic -static $LIBS -Wl,-Bdynamic"
>>
>> but that links in *all* libraries statically (not just pthreads).
> 
> It shouldn't as static is set, then pthread linked, then dynamic reset afterwards. 

what i meant is, that all libraries in "LIBS" will be statically linked
(which might be more than just pthreadVC).
i haven't actually checked the value of LIBS, but it sounds rather
generic...


> 
>> in any case, i think the actual wish.exe should be specifiable on the
>> cmdline.
>>    make WISHAPP=desire.exe
> 
> 
> Yes, although I'd suggest a configure option like --prefix:
> 
>     ./configure --wish=desire.exe

yes.
i was more speaking with my recently-acquired makefile.msvc hat on,
where this is obviously not an option...

i will submit fixes for both.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20170629/c66ec7cc/attachment.sig>


More information about the Pd-dev mailing list