Hi,
I managed to compile the helloworld external demo by:
http://iem.at/pd/externals-HOWTO/node3.html
on OSX!
I want to share with you!
First I tried on pc with Cygwin and gcc,gdb,make installed.
I found the solution here:
http://alberto.zin.googlepages.com/mingwtutorial
worked preatty well! thanx Alberto!
He linked to this guy:
http://www.sarc.qub.ac.uk/%7Eelyon/LyonSoftware/Pd/
(btw goood externals here!)
Here I found a good makefile for osx and I hacked the
shell commands out.
Here the commands:
For OSX you need:
Terminal
Xcode with gcc & company installed.
open terminal
go to your code directory (helloworld.c)
then type:
cc -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I ./ -o helloworld.o -c helloworld.c
cc -bundle -undefined suppress -flat_namespace -o helloworld.pd_darwin helloworld.o
then copy the helloworld.pd_darwin to the externals directory (i.e. Pd-0.39.2-extended.app/contents/resources/extra , its in the package content!)
start pd
make object helloworld
bang the input
read Hello World!! in the command window.
enjoy!
icoon