Le 2012-02-25 à 23:44:00, katja a écrit :

I do not use STL functionality, libstdc++ seems to be required for other functions as well, and vanilla Pd can't load a C++ object without it.

If you really want to avoid libstdc++, I think that you can do something like :
#include <malloc.h>
static inline void *operator new (unsigned int n) {return malloc(n);}
static inline void operator delete (void *p) {return free(p);}

and add -fno-rtti to the flags (to disable the typeinfo feature). If you encounter anything else, just ask me and I'll try to find it.

 ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to