Mathieu Bouchard wrote:
On Mon, 30 Jun 2008, IOhannes m zmoelnig wrote:
i know for sure that starting Pd with "-lib x -path y" does something different than starting it with "-path y -lib x".
Does it? then why does -lib store its data in sys_externlist and that pd's main function looks up the libs only after the pdsettings, pdrc and commandline arguments are all loaded?
darn you are right with the startup flags. i remember pretty well that this used to be different.
apart from that, i can now (after a tiny test) confirm that at least [declare -lib x -path y] behaves differently than [declare -path y -lib x]
[declare -lib x -path y]: tried /tmp/x.l_i386 and failed tried /usr/local/lib/pd/extra/x.l_i386 and failed tried /tmp/x.pd_linux and failed tried /usr/local/lib/pd/extra/x.pd_linux and failed tried /tmp/x/x.l_i386 and failed tried /usr/local/lib/pd/extra/x/x.l_i386 and failed tried /tmp/x/x.pd_linux and failed tried /usr/local/lib/pd/extra/x/x.pd_linux and failed
[declare -path y -lib x] tried /tmp/y/x.l_i386 and failed tried /tmp/x.l_i386 and failed tried /usr/local/lib/pd/extra/x.l_i386 and failed tried /tmp/y/x.pd_linux and failed tried /tmp/x.pd_linux and failed tried /usr/local/lib/pd/extra/x.pd_linux and failed tried /tmp/y/x/x.l_i386 and failed tried /tmp/x/x.l_i386 and failed tried /usr/local/lib/pd/extra/x/x.l_i386 and failed tried /tmp/y/x/x.pd_linux and failed tried /tmp/x/x.pd_linux and failed tried /usr/local/lib/pd/extra/x/x.pd_linux and failed
this is the behaviour i would have been expecting from the startup flags as well.
mfg,asdr IOhannes