[PD] compiling externals for pd on OS X yosemite

IOhannes m zmölnig zmoelnig at iem.at
Sat Jul 4 20:44:28 CEST 2015


On 07/04/2015 03:21 PM, Alexandre Matheson wrote:
> Hello list,
> 
> I’m following a pdf tutorial 

"a pdf tutorial"???

> on creating externals for PD and I'm compiling using gcc and the terminal. I believe there is another step afterward to get pd to recognize the object as an external but I can’t seem to find the info for os X.
> 
>> gcc -c helloworld.c -o helloworld.o
>> ld -export_dynamic -shared -o helloworld.pd_linux helloworld.o -lc -lm
> 
> 
> any info would be greatly appreciated.
> 

check out the template Makefile [1].
it can compile your external on a great number of systems, not just OSX
(or linux).
rumour has it, that there is also a new standard Makefile for externals
in the make, but so far the authors have kept it to themselves...


fmdsar
IOhannes

[1]
https://svn.code.sf.net/p/pure-data/svn/trunk/externals/template/Makefile


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150704/34ba3fd3/attachment.sig>


More information about the Pd-list mailing list