[PD] Re: cyclone-0.1-alpha1, s_loader.c, and MacOSX

Adam T. Lindsay atl at comp.lancs.ac.uk
Fri Nov 22 17:01:25 CET 2002


Krzysztof Czaja said this at Fri, 22 Nov 2002 16:37:44 +0100:

>thank you!

My pleasure. Everything about PD is so portable that MacOSX ports of
externals are becoming very trivial.

>I think I will add an OS X branch (containing your changes) into
>the common makefile.  Could you tell me what 'uname -s' prints
>out on OS X?

Darwin
uname -m, as I've seen in other makefiles, gives the slightly less-
helpful "Power Macintosh"

>For the time being, the Mac branch would not generate single-class
>externals, but in the long run I think it should, as the main libs
>are likely to grow in size.
>
>It seems like in each system Pd loads externals differently.
>Windows .dll does not export external symbols, .pd_linux does
>(with the flag RTLD_GLOBAL) -- but dlopen kindly resolves any name
>clashes -- and now you tell that .pd_darwin is so fragile...  You
>are right, something needs to be done to unify loader's behaviour.

Okay. I wasn't sure what the Mac should be emulating. As you now say,
that's not an easy question to answer, but thanks for the explanation.

>(My build tools are horrible, I know, but still, they do their job
>of maintaining (not only building) all my Pd-related stuff, of
>which cyclone and xeq are only a part.)

No! My comment was that they were amazingly good, from my beginner's
point-of-view. I had to do *minimal* work to get the Mac part going.

cheers,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl at comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





More information about the Pd-list mailing list