before i write an external to do what i need it to do, i'm trying
to get ANY external into pd... and i'm having a hard time. i've compiled the .c file and now i have an object file (.o). what do i do now? by the way i am in linux. thans,
scott
"640K ought to be enough for anybody." -- Bill Gates, 1981
morning,
you need to link the object file(s) into a shared library; by default, it seems that pd/linux looks for externals with the suffix '.pd_linux' -- the flags i use for gcc are something like:
-shared -export_dynamic
... or alternately
-shared -rdynamic
... perhaps these are equivalent? so:
bash$ gcc -Wall -o myextern.pd_linux myextern.o
ought to do it for a single-file external.
marmosets, Bryan
On 23 July 2002 at 16:42:52, J. Scott Hildebrand wrote:
before i write an external to do what i need it to do, i'm trying
to get ANY external into pd... and i'm having a hard time. i've compiled the .c file and now i have an object file (.o). what do i do now? by the way i am in linux. thans,
scott