[PD] autotools

Christof Ressi christof.ressi at gmx.at
Sun Dec 3 14:01:27 CET 2017

maybe for MinGW, automake could just pass the right variables to makefile.mingw? I could also rework the MinGW makefiles for the externals so that they don't depend on pd-lib-builder.

Gesendet: Sonntag, 03. Dezember 2017 um 13:42 Uhr
Von: "Dan Wilcox" <danomatika at gmail.com>
An: "Christof Ressi" <christof.ressi at gmx.at>
Cc: pd-list <pd-list at iem.at>
Betreff: Re: [PD] autotools

Yeah, I'm looking into not using libtool actually, partially for this reason. We are using it with port audio and port midi, but it's not really required for things which are only statically linked in the project. The dll we could leave as something we do more by hand as we (you!) have worked out the set of steps needed.
it's recommended to only use libtool for when it's actually necessary and this is really for building cross-platform shared libraries. It will be great for libpd, for instance, but I'm thinking now we don't really need it for desktop Pd.


On Dec 3, 2017, at 1:39 PM, Christof Ressi <christof.ressi at gmx.at[mailto:christof.ressi at gmx.at]> wrote: 

Yeah and that's largely due to the current layout being recursive,
hmmm.. I don't think that's the reason. currently, there aren't that many Makefiles: /src, /portaudio, /portmidi, /asio, /extra and for each external. aside from that, my build system is also recursive (calling make on pd-lib-builder makefiles for the externals). 
what's really slow is compiling the individual source files. while a typical .c file in /src takes ~1 second on my build system, it takes significantly longer with libtool. this is easily noticeable when watching the console output. I think it's rather an overhead introduced by libtool but I might be wrong. did you notice that on other platforms?  

Dan Wilcox

More information about the Pd-list mailing list