I'm working on an XS module and I'd like to be able to test code by just compiling a C file. However, including EXTERN.h, perl.h, and XSUB.h does not cut the mustard; some of the "undefined references" lead only to binary files, so perhaps there is something I have to feed the linker here? The stuff I've found online only discusses using h2xs and the whole build process. I'm assuming that is not necessary if the executable is not really a perl module (it's just using the api)?
In reply to Using the perl API in C by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |